/piku-rails-app

Example rails app, deployable with piku

Primary LanguageRuby

Sample Piku app

This is an example rails app, with a Procfile to use sqlite3 on piku.

Tweaks you'll need:

  • Create your own master.key file
  • Edit your protected credentials with rails credentials:edit and set a value for secret_key_base

These changes are needed since it's insecure to publish my master.key.

After you deploy this app to your piku server, add an ENV var for your master key:

piku config:set RAILS_MASTER_KEY=$(cat config/master.key)