Fix Procfile to be usable in production.
Created by: crohr
The Procfile may be used for deployment purposes (e.g. on heroku, pkgr.io, etc.), therefore any parameter should default to a production-ready one. They can then be overwritten in dev by using a proper .env
file at the root of the project. Needed by PR #6716.
Created by: crohr
Works for me, but the correct way to deal with development environment variables is having a
.env
file at the root of your project, which will be picked up by foreman (http://ddollar.github.io/foreman/#ENVIRONMENT):$ cat .env PORT=3000 RAILS_ENV=development UNICORN_CONFIG=path/to/dev-unicorn-config
By Administrator on 2014-04-08T12:06:55 (imported from GitLab project)
Please register or sign in to reply