- create your vitual-env
python3 -m venv venv
- acitvate venv
source venv/bin/activate
- Install dependencies:
pip3 install -r requirements-dev.txt
- Run the app:
uvicorn app.main:app --reload --port 8000
- Open localhost:8000 in your browser.
This project uses pre-commit to ensure that code standard checks pass locally before pushing to the remote project repo. Follow the installation instructions, then set up hooks with pre-commit install
.
Make sure everything is working correctly by running
pre-commit run --all
To use pre-push
hooks with pre-commit, run:
pre-commit install --hook-type pre-push