Developer Setup
- 1. Programs to install
- 2. Set up git-secret
- 3. Setup the project
- 4. Run the project
- 5. Connecting to the Running Project
- 5.1. App
- 5.2. API
- 6. Links and Notes
1. Programs to install
poetry git-secret Docker Desktop
2. Set up git-secret
3. Setup the project
git clone https://github.com/datapointchris/ichrisbirch.git
cd ichrisbirch/
git secret reveal
poetry install
source .venv/bin/activate
export ENVIRONMENT=development
pre-commit install
# Make sure Docker is running
pytest
4. Run the project
TODO
This doesn't work! I need to figure out another way to run it locally. Right now it is relying on using local NGINX and Supervisor.
# App and API are separate applications.
# App is a flask app that runs the frontend
# API is FastAPI running the API backend that the frontend connects to
# Run these in separate shells for log separation
# poetry run python ichrisbirch/runapidev.py
# poetry run python ichrisbirch/runappdev.py