Welcome! We're glad you're interested in contributing to WardhaMetroFlow.
This guide will help you set up the project locally — no prior open-source experience needed!
Click the "Fork" button on the top-right of this repo to create your own copy.
git clone https://github.com/YOUR_USERNAME/WardhaMetroFLow.git
cd WardhaMetroFLowMake sure you have Python 3.8+ installed.
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activateWe keep our backend dependencies in requirements.txt. To install:
pip install -r requirements.txtIf you’ve added a new Python package, update the file with:
pip freeze > requirements.txtThe backend requires a pre-trained passenger flow prediction model stored at: ai-models/passenger_flow_model.pkl If this file is missing, you must generate it before running the server. From the project root, run:
python ai-models/passenger_flow_model.pycd backend
python app.pyThe backend will start at: Preview site
At the moment, the frontend is a static HTML page (passenger.html) located inside frontend/. Simply open the file in your browser to test it.
Future Plan: We will migrate to a Node.js/React-based frontend. Keep an eye on issues for updates.
If you'd like to run the entire project with Docker:
a. Install Docker Desktop: https://www.docker.com/products/docker-desktop
b. Run:
docker build -t wardhametroflow .
docker run -p 5000:5000 wardhametroflow(Dockerfile support coming soon)
Check our Issues page and look for labels like:
good first issue
documentation
frontend
bug
You can also suggest your own ideas!
We value all contributions and assign points based on complexity and effort.
This helps us track and reward contributor impact.
| Area | Points | Difficulty Level |
|---|---|---|
| Backend Development | 30 | 3 |
| Map / Leaflet.js | 30 | 3 |
| Frontend Development | 15 | 2 |
| Documentation | 10 | 1 |