Zephyr is a platform which provides users with the predicted Air Quality Index levels of air pollution for 39 cities of India with daily, monthly and yearly trends. It also provides some of the statistics observed for AQI over these cities and various latest articles and blogs related to air pollution.
- Get the source code on your pc via git and navigate inside the folder through your terminal.
git clone https://github.com/altruistcoder/Zephyr
- Create a virtual environment and navigate inside it.
virtualenv venv
-
Move the contents of cloned repository inside virtual environment folder.
-
Activate the virtual environment (You have to activate it everytime you are working on project).
For mac users:
source bin/activate
For windows users:
.\Scripts\activate
For Linux users:
source activate <environment-name>
- Now, install python dependencies.
pip install -r requirements.txt
-
Now, navigate to the directory containing manage.py file.
-
Run following command:
python manage.py migrate
python manage.py runserver
- Zephyr is ready for use. You can run it at http://127.0.0.1:8000/.