It's a small django application that runs on top of the Raspberry Pi that is used as... a house manager.
I wrote the app to have some Django-fun but also, because having roommates requires some management.
This helps noting down groceries spending and bills.
Jquery and Boostrtap used heavily for fast phase development.
Requirements:
- Django 1.7,
- Sqlite3,
- django-autofixture,
- Pip
- Python 2.7,
- Virtualenv
- Open a terminal (or git bash) and clone this project:
git clone git@github.com:freyWill/house_manager.git
- Change directory in your terminal inside the project:
cd (yourpath)/house_manager
- Setup virtual environment
virtualenv env
- Install requirements, create migrations, create dummy data, run it
source env/bin/activate && pip install django==1.7.1 && pip install django-autofixture && python manage.py migrate && python manage.py createsuperuser # create your superuser account
- Put username email and password for the admin.
- Run server with
python manage.py runserverand visit Localhost's admin panel. From there, create few fake users. - Load dummy data
python manage.py loadtestdata spending.Person:1 && python manage.py loadtestdata spending.Deposit:10 && python manage.py loadtestdata spending.MonthlyBill:10 && python manage.py loadtestdata spending.Purchase:10 && python manage.py loadtestdata spending.Withdraw:10
Keep in mind that if you are logged in with an account that does not have a person associated with you, the index will complain. Make sure to create a Person profile for the root account as well.
Now run server with python manage.py runserver and open http://localhost:8000 & enjoy :) !


