-
Poetry should be installed on your system.
-
Ensure the database is running in a Docker container:
make postgres
-
Ensure you have these environment variables in a .env:
OPENAI_API_KEY=<OPEN_AI_KEY> DB_URL=postgresql://user:pass@localhost:5433/test PORT=5000 HOST=0.0.0.0
-
Install the project dependencies using Poetry. Open a terminal or command prompt and navigate to the project directory.
poetry install
-
Activate the virtual environment created by Poetry.
poetry shell
-
Start the server
make server