Skip to content

simrathanspal/AITutor

Repository files navigation

AITutor

Environment setup

For environment setup we use UV package manager - Tutorial. Project requires Python 3.12 Start by installing UV: pip install uv.

Follow below steps:

  1. Setup your environment with: uv sync
  2. Make a copy of .env_template as .env and fill in your secret keys.
  3. Run command brew install make on macOS.
  4. Download docker if not already available, install and open it.
  5. Set up GitHub co-pilot for free
  6. Run command make local-db-up to start the local MongoDB database. This will create a folder called mongodb in the root directory of the project for the db files.

Setting up virtual environment on VSCode

  1. Open command palette and click on "Python: Select Interpreter"
  2. Select the interpreter from the virtual environment created by UV.

Setting up virtual environment on Terminal

  1. Activate the virtual environment with: source .venv/bin/activate

Docker commands

  1. List all running containers: docker ps
  2. Stop all running containers: docker stop $(docker ps -q)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •