How to install Flask

How to install Flask

wget http://pypi.python.org/packages/source/F/Flask/Flask-0.10.tar.gz
tar -xzf Flask-*.tar.gz
cd Flask-*

Installing..

python2.6 setup.py install --user

Update your .htaccess with the following lines:

vi .htaccess

AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.fcgi/$1 [QSA,L]

Update your index.fcgi with the following lines:

vi index.fcgiRead the rest