flask-realworld-example-app:使用Flask(Python)构建的示例性现实世界JSON API

时间:2024-05-20 05:52:26
【文件属性】:

文件名称:flask-realworld-example-app:使用Flask(Python)构建的示例性现实世界JSON API

文件大小:84KB

文件格式:ZIP

更新时间:2024-05-20 05:52:26

Python

快速开始 CircleCI构建: 首先,将您应用的秘密密钥设置为环境变量。 例如,将以下内容添加到.bashrc或.bash_profile 。 export CONDUIT_SECRET= ' something-really-secret ' 在运行shell命令之前,请设置FLASK_APP和FLASK_DEBUG环境变量 export FLASK_APP=/path/to/autoapp.py export FLASK_DEBUG=1 然后运行以下命令来引导您的环境 git clone https://github.com/gothinkster/flask-realworld-example-app.git cd flask-realworld-example-app pip install -r requirements/dev.txt 运行以下命令以创建应用程序的数据库


【文件预览】:
flask-realworld-example-app-master
----requirements()
--------dev.txt(147B)
--------prod.txt(233B)
----README.rst(2KB)
----autoapp.py(272B)
----Vagrantfile(4KB)
----.circleci()
--------config.yml(381B)
----requirements.txt(152B)
----Pipfile.lock(23KB)
----.idea()
--------vcs.xml(180B)
----conduit()
--------settings.py(2KB)
--------exceptions.py(1KB)
--------compat.py(401B)
--------app.py(2KB)
--------utils.py(220B)
--------__init__.py(32B)
--------profile()
--------user()
--------database.py(1KB)
--------extensions.py(1KB)
--------commands.py(4KB)
--------articles()
----.travis.yml(336B)
----LICENSE(1KB)
----setup.cfg(29B)
----Procfile(48B)
----Pipfile(504B)
----tests()
--------factories.py(743B)
--------test_config.py(454B)
--------test_articles.py(5KB)
--------test_profile.py(2KB)
--------__init__.py(25B)
--------test_models.py(5KB)
--------conftest.py(1KB)
--------test_authentication.py(2KB)
----.gitignore(537B)
----image.png(48KB)

网友评论