-
Just wanted to create simple Fabric configuration to:
- Install:
- nginx
- mysql
- uwsgi
- make all this work together
- have django skeleton for quick projects
- Install:
-
It works from virtual environment
- To Setup virtual environment:
python bootstrap.py djn_env
;- Setup environment in PyCharm:
- Preferences - > Project Settings -> Python Interpreter
- Click "Add"
- Select tts_env/bin/Python
- to upgrade environment run
python bootstrap.py djn_env
one more time
- To Setup virtual environment:
-
Vagrant Project has simple Vagrant file to test local instances. To spead up development it maps host folders to cache apt and virtualenv files.
-
To run
vagrant up && fab vagrant setup
- open
http://88.88.88.88/admin/
in your browser - Access Admin Data:
- login: root
- password: 123
Enjoy