Skip to content

Tell Heroku How to Start Your App With Procfile

View on Twitter

💡 If Heroku can't detect your app language you have to add a `Procfile` at the root of your project. The format is:

👉🏼 <process type>: <command>

A Node.js web server with index.js as entrypoint would have a Procfile with:

👉🏼 web: node index.js

You might also like
Add Public Key to Server With ssh-copy-id Read tip
Mapping of HTTP Status Messages in Node.js Read tip
Restrict SSH Key to Specific Commands Read tip