Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.35 KB

README.md

File metadata and controls

35 lines (30 loc) · 1.35 KB

Weather_app:

Overview

This is a small full stack project that enables people to acquire current city weather information. This web applicaiton is mainly implemented by Python and Django framework. Try it!

Installation


  1. Use git clone to download the whole files:
git clone https://github.com/xuliang2019/weather-app.git
  1. Create a virtual environment and activate it inside the project folder:
python -m venv my_env
cd my_env
Scripts\activate
  1. Install the dependencies listed in the requirements.txt file under root directory :
pip install -r requirements.txt
  1. Get your own Open weather api key and add it to the url variable under the directory of weather/views.py
  2. Run your server and try the app at root directory:
python manage.py runserver

And you will see below interface. Congratulations!

Note: Do remember to add your own open weather api key to the url variable, otherwise you will catch a server error.

Demo