作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是一个尝试制作 django 应用程序的新手,但不幸的是我的操作系统是 windows。
Heroku 文档是为 linux 编写的,所以我无法获得足够的信息用于 Windows 7 上的应用程序开发。
首先如何使用window cmd制作procfile?
有没有命令语言翻译文档?(linux->windows)
最佳答案
关于在 cmd shell 中创建文本文件:echo web: run this thing >Procfile
这将创建 Procfile
与 web: run this thing
里面(显然)。
您也可以使用任何文本编辑器,notepad
将完美契合。
还有一件事,这对我来说并不明显,因此对其他人也有帮助。Procfile should be a text file
有点误导,不要保存Procfile
如 Procfile.txt
否则不会被识别。让它简单明了Procfile
没有任何文件格式。
关于heroku - 如何为 Windows 创建 Heroku procfile?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25129958/
我是一名优秀的程序员,十分优秀!