Line 29: | Line 29: | ||
<p id = "doubleSpace" class="p-font grey-text">If you have are planning to run this on a Ubuntu development computer, | <p id = "doubleSpace" class="p-font grey-text">If you have are planning to run this on a Ubuntu development computer, | ||
you must install additional packages in order to get the Pip package Pillow. To do this, enter into your terminal:</p> | you must install additional packages in order to get the Pip package Pillow. To do this, enter into your terminal:</p> | ||
− | + | ||
<div style = "background-color: #f6f8fa; overflow: auto; padding 20px; "> | <div style = "background-color: #f6f8fa; overflow: auto; padding 20px; "> | ||
− | <code style = "color: black; background-color: transparent; word-wrap: normal; overflow: visible" id = "doubleSpace" class="p-font grey-text">sudo apt-get install python-dev</code> | + | <code style = "color: black; background-color: transparent; word-wrap: normal; overflow: visible" id = "doubleSpace" class="p-font grey-text">sudo apt-get install python- |
+ | dev</code> | ||
<br> | <br> | ||
− | <code style = "color: black; background-color: transparent; word-wrap: normal; overflow: visible" id = "doubleSpace" class="p-font grey-text">sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6 dev python-tk</code> | + | <code style = "color: black; background-color: transparent; word-wrap: normal; overflow: visible" id = "doubleSpace" class="p-font grey-text">sudo apt-get install libtiff5- |
+ | dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6 dev python-tk</code> | ||
+ | </div> | ||
+ | |||
+ | <p | ||
+ | <p>Next, you must have Python 2.7, 3.4, or 3.5 installed on your computer and accessible on the terminal as well as pip (may be already installed when you installed Python). This software comes default on Ubuntu and Mac, but on Windows you must get an installation from the Python website. Then, install Django 1.9 or 1.10, Pillow, djangorestframework, drfdocs, and bleach through the command on Linux: </p> | ||
+ | <div style = "background-color: #f6f8fa; overflow: auto; padding-top: 20px; padding-bottom: 20px; "> | ||
+ | <code style = "color: black; background-color: transparent; word-wrap: normal; overflow: visible" id = "doubleSpace" class="p-font grey-text">sudo pip install django Pillow | ||
+ | djangorestframework drfdocs bleach</code> | ||
</div> | </div> | ||
<br> | <br> |
Revision as of 03:34, 31 October 2017
Installation
Follow These Steps
If you have are planning to run this on a Ubuntu development computer, you must install additional packages in order to get the Pip package Pillow. To do this, enter into your terminal:
sudo apt-get install python-
dev
sudo apt-get install libtiff5-
dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6 dev python-tk
Next, you must have Python 2.7, 3.4, or 3.5 installed on your computer and accessible on the terminal as well as pip (may be already installed when you installed Python). This software comes default on Ubuntu and Mac, but on Windows you must get an installation from the Python website. Then, install Django 1.9 or 1.10, Pillow, djangorestframework, drfdocs, and bleach through the command on Linux:
sudo pip install django Pillow
djangorestframework drfdocs bleach