【文件属性】:
文件名称:CrowdCost:创业周末赢家。 这是在 Python 中的重建,从未走得更远
文件大小:144KB
文件格式:ZIP
更新时间:2021-06-08 14:20:27
JavaScript
Python入门
一个准系统 Python 应用程序,可以轻松部署到 Heroku。
此应用程序支持文章 - 请查看。
在本地运行
确保您已Python。 另外,安装 。
$ git clone git@github.com:heroku/python-getting-started.git
$ cd python-getting-started
$ pip install -r requirements.txt
$ python manage.py syncdb
$ foreman start web
您的应用程序现在应该在上运行。
部署到 Heroku
$ heroku create
$ git push heroku master
$ heroku run python manage.py syncdb
$ heroku open
文档
有关在 Heroku 上使用 Pyth
【文件预览】:
CrowdCost-master
----runtime.txt(13B)
----Procfile(47B)
----hello()
--------models.py(2KB)
--------templates()
--------static()
--------__init__.py(0B)
--------views.py(6KB)
--------admin.py(63B)
--------tests.py(60B)
--------forms.py(603B)
----.env(57B)
----requirements.txt(140B)
----manage.py(256B)
----.gitignore(40B)
----README.md(977B)
----gettingstarted()
--------wsgi.py(438B)
--------__init__.py(0B)
--------settings.py(4KB)
--------urls.py(848B)