This is the portal for the big band roulette page. To build this repository, create a new python env and run:
python -m pip install -r requirements.txt
This should install all of the necessary modules. You can then run the app.py
python file, which should create the app at port 5001.
There are two users pre-enabled on the system (all simulation data can be found in data simulator.py) These are:
username: test@me.com
, password: password
. This is enabled with one audition already signed up, but no auditions completed.
username: 2@me.com
, password: 2
. This is enabled with no auditions signed up, but they have already completed their audition so you can see the upcoming gigs and my gigs pages.
djlint
along with the python djlint package for autolinting of the html files
better jinja
helps with the html file highlighting
These are in place to explain obvious parts for improvement and to warn against editing the security templates.
Follow the better comments
extension if working in vscode (or just copy pre-existing formatting) so that they can be seen clearly.
ssh -p 22 {user}@webserver.srcf.net
, for example ssh -p 22 ca541@webserver.srcf.net
, using your own password.bbr/musicians-portal/
. env/bin/activate
. This should have a dot at the start!bash run.sh
.python init_db.py
. This will seed the database.run.sh
or systemct1
(or if testing locally just run app.py
)# Query all users associated with saxophones
saxophone_users = User.query.join(Saxophone.users).all()