Deploying Redis

  1. Go to your project and create a new service.
  2. Type “Redis” in the search bar and choose “Add Redis”.

that’s it. The Redis service is ready.

Deploying Sidekiq

  1. Again – go to your Railway project and create a new “GitHub Repo” service. Go through the GitHub configuration process and select your Rails repo.
  2. In the settings set the service name to Sidekiq.
  3. Go to your codebase, open config/credentials/production.key and copy the value of the file. Notice: Never share it with anybody!
  4. Click on the created Sidekiq service, and go to Variables. Set the following environment variables: RAILS_ENV=production
    RAILS_MASTER_KEY=
  5. Go to settings tab and set the startup command to bundle exec sidekiq.

Support On Demand!

                                         
Ruby on Rails