29 lines
452 B
Plaintext
29 lines
452 B
Plaintext
trubox
|
|
|
|
Get:
|
|
cd trubox
|
|
virtualenv .
|
|
pip -E . install -r requirements.txt
|
|
|
|
Setup:
|
|
. bin/activate
|
|
cd trubox
|
|
(create mysql db for project.)
|
|
python manage.py syncdb
|
|
Develop:
|
|
create trubox/local_settings.py
|
|
|
|
. bin/activate
|
|
cd trubox
|
|
python manage.py shell
|
|
|
|
python manage.py runserver
|
|
|
|
Deploy:
|
|
create trubox/local_settings.py
|
|
|
|
create /etc/apache2/sites-availavle/sitename.conf
|
|
|
|
Test:
|
|
plug and pray
|