Cogs and Levers A blog full of technical stuff

Web Application Development with Flask

A brief guide to developing web applications with the python micro-framework, Flask.

Pre-requisites

The following units need to be installed prior to using this framework:

  • python
  • pip
  • virtualenv

Using Flask

Create the project folder, setup python environment

mkdir projname  
cd projname 
virtualenv env

From now on, activate the environment from within the project folder with this command:

$ . env/bin/activate

Install Flask

pip install Flask  

References

Flask websitehttp://flask.pocoo.org/