bookorders:python演示的演示应用程序

时间:2021-05-18 18:13:00
【文件属性】:
文件名称:bookorders:python演示的演示应用程序
文件大小:8.32MB
文件格式:ZIP
更新时间:2021-05-18 18:13:00
Python 预订订单演示应用程序 在PyOhio 2015上作为数据库测试演示的辅助应用程序创建。 环境假设 您有可用的PostgreSQL服务器,最好根据bookorders.conf:TestProfile设置用户/密码/数据库 您已在系统或用户级别安装了最新版本的Tox。 运行测试 确保您的数据库设置与config.py:TestProfile中的内容匹配,或者请参阅下一节。 在源目录中运行tox 。 本地配置更改 为了为您的本地环境设置配置,请如下创建/bookorders-config.py ,并根据需要更改数据库/bookorders-config.py : DEFAULT_PROFILE = 'DevProfile' class DevProfile(object): # secret key for Flask (f
【文件预览】:
bookorders-master
----requirements()
--------ci-env.txt(71B)
--------dev-env.txt(72B)
--------wheelhouse()
--------includes()
--------wheelhouse-build.txt(89B)
----readme.rst(2KB)
----shippable.yml(185B)
----scripts()
--------make-env-vex.sh(281B)
----wheelhouse.ini(58B)
----tox.ini(2KB)
----setup.py(1KB)
----bookorders()
--------config.py(610B)
--------app.py(245B)
--------model()
--------__init__.py(339B)
--------cli.py(325B)
--------views.py(265B)
--------tests()
--------version.py(18B)
----.gitignore(92B)
----changelog.rst(91B)

网友评论