A graphical interface that displays important information at the entrance of CSH.
See it live here!
This project uses Python, Flask, SQL, HTML/CSS, and Javascript.
- Clone and cd into the repo:
git clone https://github.com/ComputerScienceHouse/Jumpstart
- Run
pip install -r requirements.txt
- Ask opcomm for secrets
- The secrets package follows the directory structure: src/ secrets/ client_secrets.json
- Run
flask --app jumpstart run
- Results
Jumpstart expects the following environment variables to be defined:
FLASK_APP=jumpstart:App
JUMPSTART_API_KEYS=KEYS
TZ=TIMEZONE
SENTRY_DSN=LINK
- Ensure you are in the project root, then build the image locally with
docker built -t jumpstart .
- Run with the following: (Be sure to update env variables)
docker run \
-e FLASK_RUN_HOST=0.0.0.0 \
-e FLASK_APP=jumpstart:App \
-e JUMPSTART_API_KEYS=KEYS \
-e TZ=America/New_York \
-e SENTRY_DSN=LINK \
-e GUNICORN_CMD_ARGS="-b=0.0.0.0:5000" \
-v ./secrets:/usr/local/jumpstart/secrets \
-p 5000:5000 \
jumpstart