1. Setupt venev * virtualenv -p /usr/bin/python3 patt-venv * ln -s patt-venv/bin/activate * source activate * Sometimes upgrades are needed: pip list --outdated | cut -d ' ' -f 1 | xargs pip install $1 --upgrade * pip install -r requirements.txt 2. Set SECRET:KEY in config.py 3. python manage.py migrate 4. python manage.py createsuperuser 5. python manage.py collectstatic 6. chgrp www-data . && chmod 770 . 7. chgrp www-data db.sqlite3 && chmod 664 db.sqlite3 8. chgrp www-data -R data 8.1. find data -type d -exec chmod 775 "{}" \; 8.2. find data -type f -exec chmod 664 "{}" \; x. Run server by command "python manage.py runserver 0.0.0.0:8000" or add App to apache