Deldichoalhecho is a promise tracker application.
This is intended to be a django-app and also a site by itself that allows citizens to create promises made by an authority and keep track of their fulfillment, this project is inspired by deldichoalhecho.cl.
This version handles multi-instances. For a single instance version, see https://github.com/ciudadanointeligente/check-it
The installation requires certain software to be installed in your machine
- Clone the project
git clone https://github.com/ciudadanointeligente/deldichoalhecho.git ${destiny}
cd ${destiny}
- Create a virtualenv and enter the directory
virtualenv virtualenv
source virtualenv/bin/activate
- Install the project requirements
pip install -r requirements.txt
- Create your own config file. Here you can edit the configuration for your specific implementation
cp project_site/local_settings.demo.py project_site/local_settings.py
And then edit that file.
- Install migrations
python manage.py migrate auth
python manage.py migrate
- Managing static files
python manage.py collectstatic
- Create the admin user
python manage.py createsuperuser
- Run server
python manage.py runserver
And now you can access it at http://localhost:8000.
This app can be deployed to heroku to do so you need to create an account and install the heroku toolbelt, then you need to create an app and relate a database for it (for example heroku postgres which has a free layer).
Then you can publish your project by doing
git push heroku master
After that you need to sync the database by doing
heroku run ./manage.py syncdb
And run the migrations
heroku run ./manage.py migrate
This project is inspired by:
- Write documentation about themeing
- Write documentation about using deldichoalhecho in another django app