Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.11 KB

README.md

File metadata and controls

44 lines (38 loc) · 1.11 KB

Weather forecast

Introduction

An application to check the weather forecast built using Django.

Setup

First download the project folder or clone the repository using the following command:

git clone https://github.com/wieczorek-daniel/weather-forecast.git

Then create and run the virtual environment. Depending on your operating system the commands may vary.

Linux and OS X

python3 -m venv venv
. venv/bin/activate

Windows

python -m venv venv
venv\Scripts\activate

Later install the dependencies (required packages) using the following command:

pip install -r requirements.txt

In the project directory also create an .env file containing environment variables based on the .env.example file.

cp .env.example .env # for Linux
copy .env.example .env # for Windows

To start the application use the following command:

python3 manage.py runserver

Preview

Live demo

Heroku deployment: https://application-weather-forecast.herokuapp.com