requirements node >= 12 (untested) python3 >= 3.8
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
/var/www/golf/env/bin/gunicorn views:flaskapp
/var/www/golf/env/bin/python scheduler.py
runs all the different 'queues' of jobs, 'squash', 'golf', 'brs', 'int'
/var/www/golf/env/bin/rq worker recurring squash golf brs int --url=${RQ_REDIS_URL} --sentry-dsn=https://3ac09515060a422c8b0fd6c72336bc6a@o4504389848137728.ingest.sentry.io/4504389849841664
in 'brs_frontend', install deps and npm run dev
all the systemd scripts necessary are in 'systemd' folder, symlink them to /etc/systemd/system then restart systemd
logs can be accessed via ./manage.sh logs
can restart services on code change via ./manage.sh restart
frontend needs to be built from brs_frontend
an nginx is needed to connect all this together