Spaces:
Sleeping
Sleeping
Installation
This project uses poetry as dependency management tool.
After setting up poetry, run the following command to install the project along with its dependencies:
poetry install
The project also uses of poethepoet for defining project tasks, such as running local applications for development.
These "poe tasks" are defined in the pyproject.toml
file.
Code quality and typing checks
This project enforces code quality and typing checks using ruff, mypy and black.
To format the code, run the following command:
poetry run poe format
To run the checks locally, run the following command:
poetry run poe check
You can also use poe task to run the tests, namely:
poetry run poe test
docker build -t prompt-search-engine .
docker run -d -p 8000:8000 prompt-search-engine