This is a web tool for finding out least air pollution and least carbon dioxide emission path. It also features forecasting capability.
Please use GITBASH for as Terminal for typing your commands.
Before you begin with frontend setup: Make sure you've completed the backend setup and the server is up and running.
Recommended steps for bootstrapping the servers:
- Setup and run the ML server
- Setup and run Go backend server
- Setup and run frontend client
- Make sure you have Python3 installed in your system. You can confirm by running
which python3
and hope it's not sayingpython3 not found
. Otherwise, you'll have to install it. You can follow this article for this.
- Verify Python is setup in your $PATH by running running
python --version
- Install dependencies
pip install -r requirements.txt
-
Add downloaded models to
/models
directory: 120min and 300min would be fine. -
Run the server
uvicorn main:app --host 0.0.0.0 --port 8000