Skip to content

aptible/template-rails

Repository files navigation


Rails on Aptible

This is a variation of the Rails Getting Started example on Aptible.

The app in this repo is deployed live here.

Deploy on Aptible

Detailed docs

Configuration

The only thing the user needs to do is create and set PRODUCTION_SECRET_KEY environment variable during onboarding flow. The below command should generate a secret you can use in that step.

rails secret

If you already created the app and just want to apply an environment variable, you can use our cli tool:

aptible config:set --app "$APP_HANDLE" PRODUCTION_SECRET_KEY="xxx"