Django-powered web application for the 2023 Girton Spring Ball Ticketing platform.
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
pip install -r dev_requirements.txt
pre-commit install
. app/dev.sh
./import_fixtures.sh
python3 manage.py runserver
manage.py
command should automatically create the SQLite database.python manage.py loaddata ticketing/fixtures/*
python manage.py migrate
python setup.py install
)Lookup requests are forwarded from a simple CGI script hosted inside the University.
We want to change this to something better - ideally carrying out the lookup request a proper API call with the appropriate credentials. Need to talk to university to see if these credentials can be issued for the spring ball platform.
public_html
Because of Reasons, we are using Heroku for deployment.
Changes to make:
git subtree push --prefix app heroku master
or git push heroku ``git subtree split --prefix app master``:master --force
if you need to get yourself out of a pickleheroku run bash
or heroku psql
A custom scanner web app is used to scan tickets. A stripped out database is hosted on another Heroku instance.
To prepare the database, run the setup script to clean a fresh copy of the DB on a local machine then:
heroku pg:push gsb23_tickets DATABASE_URL --app gsb-scanner
Verifies that a list of Cambridge emails meet these requirements: current student + current member of Girton College.
Usage: python3 girtifier.py -h
to find out.
Web-based QR code scanner for ticket check-in.
MIT
Matias Silva 2022