how to create Heroku procfile for windows?

user3885390 picture user3885390 · Aug 5, 2014 · Viewed 21.9k times · Source

Im a newbie trying to make a django app, but unfortunately my os is windows. Heroku docs is written for linux so I cant get sufficient information for app development on windows 7. First how can I make procfile using window cmd? Is there any command language translation docs?(linux->windows)

Answer

Max Yari picture Max Yari · May 2, 2015

Regarding creation of text file in cmd shell:

echo web: run this thing >Procfile

this will create Procfile with web: run this thing inside (obviously).

Also You can use any text editor, notepad will fit perfectly.

And one thing, that wasn't obvious for me, therefore can also be helpfull to someone else. Procfile should be a text file is a bit misleading, do NOT save Procfile as Procfile.txt or it will not be recognised. Just leave it plain and simple Procfile without any file format.