Digital Beercrate to drink with friends to enjoy drinking together, reach a certain donation goal or just keep track of the amount.
- Clone this Git Repository
- Create an Virtual Environment with
virtualenv -p /bin/python3 .venv
- Adjust Django Settings. (E.g. change database type or enable production mode, etc.) Attention: Don't forget to change the secret key in
settings.py
. - Activate Virtual Environment with
. .venv/bin/activate
- Install Requirements with
pip install -r requirements
- Apply migration with
python3 manage.py migrate
- Create Superuser with
python3 manage.py createsuperuser
- Start Server
python3 manage.py runserver
You should now be able to access the digital beercrate via http://localhost:8000
You may adjust the graphics and gifs in the folder digitalbeercrate/static
with ones fitting for you.
Also don't forget to create 2 donation goals in the configuration! Therefore:
- Start the server
- Login with your superuser
- Open the configuration panel
- Create new donation goal
Note: By now only 2(!) donation goals are supported!
Sources I used:
- Django Framework
- Django Crispy Forms
- Bootstrap
- Jquery Confetti (https://www.jqueryscript.net/animation/Confetti-Animation-jQuery-Canvas-Confetti-js.html)
- Bootle Sound (https://www.youtube.com/watch?v=QdkHUxViWdc)
If you have problems or find a bug, please open an Issue!
Feel free to show me your implementation. Just send me a mail (jonny@riotcat.org) or write me on Matrix (#jonny:matrix.riotcat.org)