Foreman: Use different Procfile in development and production

前端 未结 4 427
抹茶落季
抹茶落季 2020-12-23 02:28

I have a homemade Sinatra application for which I intend to use Heroku to host it.

I use foreman and shotgun in development, with the following Procfile:

<         


        
4条回答
  •  爱一瞬间的悲伤
    2020-12-23 02:49

    For those still looking for this, according to the docs foreman is not needed anymore. You can simply use:

    heroku local -f Procfile.dev

提交回复
热议问题