Run Heroku Rails apps in production mode locally

0

Procfile
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}
.env
RACK_ENV=production
PORT=3000
.gitigore
.env
% rails assets:precompile
% heroku local

  • 0 posts
  • 0 subtopics
  • 5 days ago by vince