Skip to content

Latest commit

 

History

History

backend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Setting Up and Running Your Python Project

Steps to Create and Activate a Virtual Environment

  1. Navigate to the backend Directory

    cd backend
  2. Create the Virtual Environment

    python -m venv venv
  3. Activate the Virtual Environment

    • On Windows:
      venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  4. Installing the python packages

    • On Windows (will take some time to finish):
      pip install -r requirements.txt

Running Your Python Application

  1. Run the Python Application
    python app.py
  2. To dexit the environment
deactivate