A Django Application that consumes DarkSky weather API to show weather condition in Nairobi
A Django Application that consumes DarkSky weather API to show weather condition in Nairobi.
To get a local copy up and running follow these simple steps.
- Python 3.7+
- Clone the repo
git clone https://github.com/timobure/weatherapp.git- Make a virtual environment
mkvirtualenv --python=python3.7 weatherapp- Install pip packages in the virtual env
pip install -r requirements.txt-
Go to weatherapp -> settings.py and fill the empty 'DARK_SKY_API_KEY' variable with your key
-
CD into weatherapp dir and Fire up the django server
./manage.py runserverand view the result in 127.0.0.1:8000 6. To run test,
./manage.py testDistributed under the MIT License. See LICENSE for more information.
Timon Obure - [email protected]
Project Link: https://github.com/timobure/weatherapp.git