基于区块链的毕业设计Flaskr – 烧瓶

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Flaskr – 烧瓶 是一篇很好的国外资料

Flaskr

The basic blog app built in the Flask tutorial.

Install

Be sure to use the same version of the code as the version of the docs you’re reading. You probably want the latest tagged version, but the default Git version is the master branch.

# clone the repository $ git clone https://github.com/pallets/flask $ cd flask # checkout the correct version $ git tag  # shows the tagged versions $ git checkout latest-tag-found-above $ cd examples/tutorial 

Create a virtualenv and activate it:

$ python3 -m venv venv $ . venv/bin/activate 

Or on Windows cmd:

$ py -3 -m venv venv $ venvScriptsactivate.bat 

Install Flaskr:

$ pip install -e . 

Or if you are using the master branch, install Flask from source before installing Flaskr:

$ pip install -e ../.. $ pip install -e . 

Run

$ export FLASK_APP=flaskr $ export FLASK_ENV=development $ flask init-db $ flask run 

Or on Windows cmd:

> set FLASK_APP=flaskr > set FLASK_ENV=development > flask init-db > flask run 

Open http://127.0.0.1:5000 in a browser.

Test

$ pip install '.[test]' $ pytest 

Run with coverage report:

$ coverage run -m pytest $ coverage report $ coverage html  # open htmlcov/index.html in a browser 

烧瓶

在Flask教程中构建的基本博客应用程序

安装

确保使用与您正在阅读的文档版本相同的代码版本。您可能需要最新的标记版本,但是默认的Git版本是主分支

# clone the repository $ git clone https://github.com/pallets/flask $ cd flask # checkout the correct version $ git tag  # shows the tagged versions $ git checkout latest-tag-found-above $ cd examples/tutorial 

创建一个virtualenv并激活它:

$ python3 -m venv venv $ . venv/bin/activate 

或在Windows cmd:

$ py -3 -m venv venv $ venvScriptsactivate.bat 

上安装Flaskr:

$ pip install -e . 

或如果您使用的是主分支,则在安装Flaskr:

$ pip install -e ../.. $ pip install -e . 

运行

$ export FLASK_APP=flaskr $ export FLASK_ENV=development $ flask init-db $ flask run 

或在Windows cmd:

> set FLASK_APP=flaskr > set FLASK_ENV=development > flask init-db > flask run 

上打开之前从源代码安装Flaskhttp://127.0.0.1:5000在浏览器中

测试

$ pip install '.[test]' $ pytest 

带覆盖率运行报告:

$ coverage run -m pytest $ coverage report $ coverage html  # open htmlcov/index.html in a browser 

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/22182.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Flaskr – 烧瓶

提供最优质的资源集合

立即查看 了解详情