Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 930 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 930 Bytes

Flask Demo & Tutorial

========== Prepared for the 2014 Code for Progress fellowship program, by Clara Bennett and Emily Williamson

Overview

This tutorial goes through building a simple weather application using Python and Flask. You can follow along by running the git checkout command at the beginning of each slide in the tutorial.

Installing the Requirements

The app has three main dependencies: Flask, WTForms, and requests. It also depends on flask_wtf, which is a Flask plugin for WTForms.

To install the dependencies, simply run

pip install requirements.txt

Run the App

To run the application, at any point in the git history after the "hello world" Flask app is created, run

python weather_app/weather_app.py

Then, open your browser to visit http://localhost:5000/weather