- Python & pip
- Postgres
- PgAdmin
- Psycopg
- Install Postgres:
brew install postgresql
- Install PgAdmin:
brew install --cask pgadmin4
- Setup local Postgres server
- Install Psycopg:
pip install psycopg2-binary
- In PgAdmin: select server and right click: Create > Database.
python setup/ca_populate.py
python setup/ca_schema.py
- Create test controls
ToDo: connect to Azure api to retrieve control data.
python evidence-serivce.py
In the frontend directory:
$ pip install psycopg2-binary
$ pip install flask-sqlalchemy
$ pip install Flask-Migrate
- Run the following command in the frontend directory:
FLASK_APP=app.py FLASK_ENV=development flask run
- Visit localhost