Note: To begin, you'll need an API key from Gemini.
- Note: In Dev mode, the default config with backend is SQLite.
- Clone Repo:
git clone https://github.com/timmy0123/GeogptProject-back.git
-
Configure Virtual Environment (Recommended):
-
Create Virtual Environment
# macOS/Linux # You may need to run `sudo apt-get install python3-venv` first on Debian-based OSs python3 -m venv .venv # Windows # You can also use `py -3 -m venv .venv` python -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate # Windows .venv\Scripts\activate ``` </details>
-
-
Install Dependencies:
pip install -r requirements.txt
- Update the .env file with
GOOGLE_API_KEY=<Your_API_KEY>
- Run the application:
python -m backend.app.main --mode dev
# or
python -m backend.app.main