How can I have a distinct Procfile for local development vs Heroku deployment?

In my local environment, I want to start MongoDB, for instance, but on Heroku, it is not needed.

How can I have a different set of processes on my local environment vs Heroku?


Create two Procfile with distinct extensions.

So you'll have

./Procfile with the processes as you intend them for Heroku ./Procfile.local with the processes as you need them locally

when starting foreman locally you'll need to type: foreman start -f Procfile.local

Need Your Help

How do I list the automated backups in RDS

amazon-web-services amazon-rds

Is there a way I can use the rds-describe-db-snapshots command to find the most recent automated backup?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.