Find a file
2023-02-11 18:25:00 +01:00
app Moved locales into app directory #16 2023-02-11 18:25:00 +01:00
data Fixed CSRF-related issues and profilepictures by starting caddy for development server too. Also improved boostrap script. #15 #16 2023-02-11 18:08:46 +01:00
project Moved locales into app directory #16 2023-02-11 18:25:00 +01:00
scripts Fixed CSRF-related issues and profilepictures by starting caddy for development server too. Also improved boostrap script. #15 #16 2023-02-11 18:08:46 +01:00
.gitignore Fixed CSRF-related issues and profilepictures by starting caddy for development server too. Also improved boostrap script. #15 #16 2023-02-11 18:08:46 +01:00
LICENSE Initial commit - existing project files 2022-03-16 12:11:30 +01:00
manage.py Completely re-structured the project from scratch, wrote a better bootstrap script, changed configuration format to yaml, improved Caddyfile, and more. #15 #16 #20 2023-02-11 17:23:57 +01:00
README.md Completely re-structured the project from scratch, wrote a better bootstrap script, changed configuration format to yaml, improved Caddyfile, and more. #15 #16 #20 2023-02-11 17:23:57 +01:00
requirements.txt Completely re-structured the project from scratch, wrote a better bootstrap script, changed configuration format to yaml, improved Caddyfile, and more. #15 #16 #20 2023-02-11 17:23:57 +01:00
start.sh Completely re-structured the project from scratch, wrote a better bootstrap script, changed configuration format to yaml, improved Caddyfile, and more. #15 #16 #20 2023-02-11 17:23:57 +01:00

Drinks Manager (season 2)

Note: This software is tailored to my own needs. I probably won't accept feature requests, and don't recommend you to use this software if this isn't exactly what you are looking for.

Can't keep track of the number of drinks your guests drink? Now you have a web interface that really tries to make things less complicated- for you and your guests.

This (exaggeration intended) most incredible piece of software is written in Python, HTML, CSS, JS, Bash and uses Django and PostgreSQL.
You have to bring your own PostgreSQL Database though.

Getting started

System Requirements

Beneath a PostgreSQL DBMS, you need the following things:

  • pg_config (Ubuntu: libpq-dev, RHEL: libpq-devel)
  • Caddy 2.4.3+ (HTTP Reverse Proxy & Static File Server)
  • gcc, gettext
  • Python 3.9+
    • venv
    • pip
  • Python header files (RHEL: python3-devel, Ubuntu: python3-dev)

Create Environment & Install dependencies

Run the following from the main directory:

./scripts/setup-env.sh

Activate Venv

On every new session, before running commands with manage.py or developing, you have to activate the venv:

source ./venv/bin/activate

If you see (venv) before your command prompt, it worked!

Configuration

see Configuration

Usage

...