uvicorn src.server.index:app --reload --host 0.0.0.0 --port 8000
python -m unittest -v
Look at .env.example to know how to set up .env If you dont have a remote redis to use, you need to have it running locally on localhost:6397 or use the docker compose.
Run:
docker network create traefik-public
export USERNAME=admin
export PASSWORD=changethis
Use openssl to generate the "hashed" version of the password and store it in an environment variable:
export HASHED_PASSWORD=$(openssl passwd -apr1 $PASSWORD)
docker-compose -f docker-compose-production.yml up
docker-compose -f docker-compose.yml up