A clicker app to record the demand for the Bristol Soup Run Trust.
This project was initiated at the social hackathon arranged by Bristol City Council on 8/11/19-10/11/19.
Contributors:
This project requires Python 3 (version to be confirmed).
The web app uses Django 3.0, which is supported until April 2021. The next long term support (LTS) version of Django will be 3.2 LTS, scheduled to be released in April 2021, and supported until April 2024.
The dashboard uses Pandas and Plotly by Dash (versions need to be confirmed).
It's best to install the required packages into an isolated virtual environment. If you don't have a preferred way of doing this, then use:
$ python -m venv env
Followed by:
$ . env/bin/activate
to activate your virtual environment. You will need to repeat this activation step each time you come back to your project.
You can then install the required packages, create the required tables in a development SQLite database, and create a superuser for you to use:
$ pip install --upgrade -r requirements.txt
$ python manage.py migrate
$ python manage.py createsuperuser
You can then run the Django development server using the manage.py script:
$ python manage.py runserver
This project is using a hard-coded secret key with debug mode enabled in
charity_app/settings.py
. You must only use these settings for local
development and not for production. Consult someone who knows what they are
doing before using this in anger.