For environment setup we use UV package manager - Tutorial.
Project requires Python 3.12
Start by installing UV: pip install uv.
Follow below steps:
- Setup your environment with:
uv sync - Make a copy of .env_template as .env and fill in your secret keys.
- Run command
brew install makeon macOS. - Download docker if not already available, install and open it.
- Set up GitHub co-pilot for free
- Run command
make local-db-upto start the local MongoDB database. This will create a folder calledmongodbin the root directory of the project for the db files.
- Open command palette and click on "Python: Select Interpreter"
- Select the interpreter from the virtual environment created by UV.
- Activate the virtual environment with:
source .venv/bin/activate
- List all running containers:
docker ps - Stop all running containers:
docker stop $(docker ps -q)