Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 892 Bytes

INSTALL.rst

File metadata and controls

42 lines (26 loc) · 892 Bytes

INSTALL PROCEDURE

pyinterp=/usr/bin/python2.7 mkvirtualenv --python=$pyinterp django16 pip install -r requirements.txt

DEMO

Clone the repository::
git clone git://github.com/feroda/django-exercises-timetracker.git
Open virtualenvwrapper instance::
workon django16
Go to project directory::
cd django-exercises-timetracker/
Initialize the database::
python manage.py syncdb
Load data to database::
python manage.py loaddata sample_data
Run development web server::
python manage.py runserver

Connect with your web browser to localhost:8000

NOTES

Export fixtures in JSON (default)::
python manage.py dumpdata --natural --indent 2 auth tracker > tracker/fixtures/sample_data.json
Export fixtures in YAML::
python manage.py dumpdata --format yaml --natural --indent 2 auth tracker > tracker/fixtures/sample_data.yaml