A django project to provide runners an easy to use interface to gather money from sponsors when running for a good cause.
Setting up a development environment on a Ubuntu machine, you'll have to do the following.
Make sure you have both python 2.7 and the virtualenv tool installed.
sudo apt-get install libpq-dev
pip install -r requirements.txt
cd
into the project root dir
virtualenv -p python2.7 venv
initialise python 3 virtual environment
. venv/bin/activate
start the virtual environment
pip install -r requirements.txt
install required python modules
./manage.py migrate
initialise the database
./manage.py createsuperuser
create admin user
./manage.py runserver
start the app
./manage.py makemessages
update translations
- redis
- celery
- postgresql
celery -A RunningCause worker --loglevel=debug
A webhook is placed on GitHub that asks Heroku to deploy the site whenever changes are pushed to the ´development´ branch.