/flask-examples

Code for my "Python Web Development with Flask" presentation.

Primary LanguagePythonMIT LicenseMIT

Python Web Development with Flask

This repository contains the source code that I demonstrate in my "Python Web Development with Flask" presentation.

Requirements

To install and run these examples you need:

  • Python 2.7 or 3.3+
  • virtualenv (not required if you are using Python 3.4)
  • git (only to clone this repository)

Installation

The commands below set everything up to run the examples:

$ git clone https://github.com/miguelgrinberg/flask-examples.git
$ cd flask-examples
$ virtualenv venv
$ . venv/bin/activate
(venv) pip install -r requirements.txt

Note for Python 3.4 users: replace virtualenv with pyvenv.

Note for Microsoft Windows users: replace the virtual environment activation command above with venv\Scripts\activate.