29 lines
464 B
Plaintext
29 lines
464 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.. er.. play
|