根据这篇文章开始上手
http://www.oschina.net/translate/the-flask-mega-tutorial-part-i-hello-world
再加点东西
如果你的环境是 Linux,OS X or Cygwin,使用以下命令安装 flask 和 扩张包,按顺序一个接一个:
flask/bin/pip install flask flask/bin/pip install flask-login flask/bin/pip install flask-openid flask/bin/pip install flask-mail flask/bin/pip install flask-sqlalchemy flask/bin/pip install sqlalchemy-migrate flask/bin/pip install flask-whooshalchemy flask/bin/pip install flask-wtf flask/bin/pip install flask-babel flask/bin/pip install flup
如果你的是 Windows 环境,那么命令有点不同:
flaskScriptspip install flask flaskScriptspip install flask-login flaskScriptspip install flask-openid flaskScriptspip install flask-sqlalchemy flaskScriptspip install sqlalchemy-migrate flaskScriptspip install flask-whooshalchemy flaskScriptspip install flask-wtf flaskScriptspip install flask-babel flaskScriptspip install flup