Skip to content

Instantly share code, notes, and snippets.

@63phc
Last active April 12, 2017 11:46
Show Gist options
  • Save 63phc/c3220edb8ef7daacfeb1604d69f065e3 to your computer and use it in GitHub Desktop.
Save 63phc/c3220edb8ef7daacfeb1604d69f065e3 to your computer and use it in GitHub Desktop.
py
python3 --version
which python3
sudo apt-get install virtualenv python-pip python3-dev
cd ~
mkdir venvs
# specify the system python3 installation
virtualenv --python=/usr/bin/python3 venvs/djproject
source ~/venvs/djproject/bin/activate
pip install django gunicorn
django-admin startproject djproject
cd djproject
gunicorn djproject.wsgi
@63phc
Copy link
Author

63phc commented Apr 12, 2017

pip install Pillow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment