欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Flask-install-python2.6

程序员文章站 2022-04-16 09:49:35
命令: 参考:https://dormousehole.readthedocs.org/en/latest/index.html Flask模版(支持表单和ORM): https://github.com/miguelgrinberg/microblog/archive/v0.4.zip ......

命令:

# 安装virtualenv
$ sudo yum install python-setuptools
$ sudo easy_install virtualenv OR sudo pip install virtualenv

# 新建虚拟环境
$ mkdir pjt_dir && virtualenv flask

# 安装flask
$ flask/bin/pip install flask
$ flask/bin/pip install flask-sqlalchemy
$ flask/bin/pip install flask-wtf
$ flask/bin/pip install sqlalchemy-migrate

 

参考:https://dormousehole.readthedocs.org/en/latest/index.html

Flask模版(支持表单和ORM): https://github.com/miguelgrinberg/microblog/archive/v0.4.zip