Setup Application Server for Heroku

Prerequisites

Before setting up your application, ensure you have completed the following for Heroku.

Prerequisites for Heroku

Setup Your Application

Setup Heroku Application

Remote Configuration

Run the command to generate a script which will create and configure all Heroku apps. [project-name] string length is limited to 22 characters:

renuo create-heroku-app [project-name]

Please review the script before running it and execute only the commands you need and understand.

If you don't know what a command does: read the documentation and then execute it.

If you think that the script is outdated, please open a Pull Request on the renuo-cli project.

Setup Rails for Heroku

  1. Add a file called Procfile to your code root:
web: bundle exec puma -C config/puma.rb

This file is read by Heroku to start the web app and worker jobs.

  1. Add a file called .slugignore to your code root:
/spec
/.semaphore

This file allows you to mark files and folders to be excluded from the Heroku