A Flask app that displays information about GSP clusters running at GDS.
- Python 3 (latest)
- Obtain a GitHub token with "read" permissions for repos
-
Clone the repo
-
You may wish to set up a virtual environment:
python3 -m venv <virtual environment name>
- Activate the environment
source <virtual env name>/bin/activate
- Install requirements:
pip install -r requirements.txt
This installs Flask, PyGithub, PyYaml and their dependencies.
- Activate you're virtual environment (if applicable):
source <virtual env name>/bin/activate
- Export environment variables:
export GITHUB_TOKEN="<your github token>"
export FLASK_APP=main.py
export FLASK_ENVIRONMENT=development # don't do this in production!
- Run the application
flask run
\s