This project shows how to use django to show a dashboard for money saved from budget for trips using Python + Django
Note
This does not include bigger picture modules such as: user login, metrics reporting, et cetera. This is really just an example of the budget module.
All code is MIT licensed.
In order to run this app, you need to have mastered
- Python 2.7
- virtualenv
- Django basics: how to configure Django project, MySQL, models, South migrations, using interactive Python shell.
Installation (virtualenv based):
git clone git@github.com:drincruz/django-budgetrip-example.git cd django-budgetrip-example virtualenv venv # Create virtualenv folder caller venv . env/bin/activate # Activate virtualenv
Install Python dependencies using pip:
pip install -r requirements.txt
django-budgetrip
uses South for its schema management.
Create a database (sqlite test.db
file by default):
python manage.py syncdb python manage.pt migrate budget
Let's open the development web server and see that the Django admin is up with django-budgetrip
:
python manage.py runserver
Visit http://localhost:8000/
to see the Django budgetrip interface.
And that's it!
Adrian Cruz(blog, `Twitter <https://twitter.com/drincruz`_, `Google+ <https://plus.google.com/u/0/+AdrianCruz0`_)