git clone ...
cd obelektrike
- export envs from env.dev
virtualenv env --python=python3
source env/bin/activate
(env)> pip install -r requirements/dev.txt
(env)> python manage.py initenv
(env)> python manage.py testdb
- uWsgi
- Nginx
- Django
(env)> fab prod
(env)> uwsgi --ini devops/wsgi.ini
(env)> kill -9 $(ps aux | grep uwsgi |grep -v grep | awk '{print $2}')
(env)> uwsgi --reload devops\wsgi.pid