Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to create Heroku procfile for windows?

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)

like image 636
user3885390 Avatar asked Aug 05 '14 01:08

user3885390


1 Answers

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.

like image 110
Max Yari Avatar answered Sep 16 '22 11:09

Max Yari