- Python version 3.6 or above
- Django Framework
- Boostrap 5
- Generate your API KEY at OpenWeatherAPI
-
Clone the repo
git clone https://github.com/AJ-Walker/WeatherApp.git
-
Create virtual environment and activate
# On Linux/Mac python3 -m venv venv source venv/bin/activate # On Windows python -m venv venv venv\Scripts\activate
-
Install Packages for running this App
pip install -r requirements.txt
-
Adding Environment Variables
- Open .env.example file from WeatherApp folder
- Add the Django secret key and OpenWeather API Key in the file
- Rename the file from .env.example to .env
-
Running Django server
python manage.py runserver
-
Open a browser and go to http://localhost:8000/w/