Skip to content

Lakshya-Kapoor/MLB-Hackathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLB Hackathon

Getting started

Prerequisites

  1. Python 3.6 or higher
  2. Pip (Python package manager)
  3. Git

Project setup

  1. Clone the repo:

    git clone https://github.com/Lakshya-Kapoor/MLB-Hackathon.git
  2. Enter the project directory:

    cd MLB-Hackathon/backend/
  3. Create a virtual environment:

    python3 -m venv myenv
    
    # On Windows:
    myenv\Scripts\activate
    
    # On macOS and Linux:
    source myenv/bin/activate
  4. Install the dependencies:

     pip install -r requirements.txt
  5. Run the fast api server:

    uvicorn main:app --reload