- Install Nix:
- Linux: Check your distro's package manager or follow the instructions here.
- MacOS: Follow the instructions here.
- Windows: First, set up WSL if you haven't already. Then, check your distro's package manager or follow the instructions here within your WSL environment.
- Clone this repo:
git clone https://github.com/moadesiyun/CodeRed-Proj.git- Enter the development shell:
cd CodeRed-Proj
nix develop- Create an environment variable named
GOOGLE_API_KEYcontaining your Google API key.
export GOOGLE_API_KEY=<your api key> # you will probably need to do this every time you reopen your terminal- Clone this repo:
git clone https://github.com/moadesiyun/CodeRed-Proj.git- Create and activate virtual environment:
cd CodeRed-Proj
python -m venv .venv
source .venv/bin/activate
- Install dependencies:
pip install -r requirements.txt- Create an environment variable named
GOOGLE_API_KEYcontaining your Google API key.
export GOOGLE_API_KEY=<your api key> # you will probably need to do this every time you reopen your terminal- Everything:
python main.py- Gemini:
python web/generator.py