Skip to content

A city weather information application. Designed by Python + Django

License

Notifications You must be signed in to change notification settings

xuliang2019/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A city weather information application. Designed by Python + Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published