z9u1rg
Last Updated: February 25, 2016
·
803
· teamon
9fae8c5d475fe322a3a74e53d56ee2a0

Procfile for development/production

If you use Procfile in production you might want to have separate Procfile.dev for development. Here is quick tip how to make that less painfull.

Put this in your .zshrc/.bashrc file

function fm {
  if [ -f Procfile.dev ] ; then
    foreman start -f Procfile.dev
  else
    foreman start
  fi
}

And then inside project directory just run

$ fm
Say Thanks
Respond
Awesome Job

B6c77ad0 c95b 11e7 8263 8f89080b8db6
Ruby Developer Backend
·
Austria (Vienna or Linz)
·
Full Time