Skip to content

chirag-projects/TransitOps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TransitOps

Backend Setup

  • Setup environment

    python3 -m venv venv
    source venv/bin/activate
  • Install dependencies

    pip3 install -r requirements.txt
  • Running the backend server

    bash run.sh
    • logs will be present in backend/app.log file
  • Run without run script

    uvicorn app:app --reload --host 0.0.0.0 --port 5678
  • Create base admin user.

    cd backend && python3 - <<'PY'
    from model.dao import seed_admin
    seed_admin()
    print('seed_admin() complete')
    PY

Frontend Setup

Run the Project

Navigate to the frontend directory:

cd TransitOps/frontend

Install dependencies (first time only):

npm install

Start the development server:

npm run dev

Open the URL shown in the terminal (usually http://localhost:4173).


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages