To use this repository, ensure you have the following installed:
- Docker: Install [Docker Desktop].
- Visual Studio Code: Install [VS Code].
- DevContainers Extension: Install the [Dev Containers extension] in VS Code.
- Open the repository in VS Code.
- Use the
Dev Containersextension to reopen the project in a container:- Press
Ctrl+Shift+P(orCmd+Shift+Pon macOS). - Select
Dev Containers: Reopen in Container. - Some features of this repository require an OpenAI API key. Export the key as an environment variable:
- Press
This repository uses pip-tools to manage Python dependencies.
To update the requirements.txt file after modifying requirements.in, run:
pip-compile ./.devcontainer/requirements.dev.in --resolver=backtracking --generate-hashes --no-annotate --strip-extras --allow-unsafe --output-file=./.devcontainer/requirements.dev.txt
pip-compile pyproject.toml --resolver=backtracking --generate-hashes --no-annotate --strip-extras --output-file=requirements.txt