ajaxorg/cloud9 — Issue #677: Procfile not generated automatically for Heroku deployment
Author: C9Support
Created: 2011-12-15 13:57:25+00:00
State: open

When you deploy an app to Heroku, Cloud9 automatically generates and commits the 'package.json' file. However, the Procfile is only generated when the javascript file that contains the server is called 'server.js'. If the file with the server is called something else, you get an error and you are told that you have to generate the Procfile yourself. See screenshot:
https://skitch.com/c9support/gt129/procfile-error
Then, you have to do a 'git commit' for the Procfile and then you can deploy.
It would be better just to ask the user for the filename and then generate and commit the Procfile for them. Or somehow identify what filename to put on the Procfile.