Skip to content

Instantly share code, notes, and snippets.

@anitagraham
Created April 27, 2021 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anitagraham/418953092adafbb59b55b894c42fc1af to your computer and use it in GitHub Desktop.
Save anitagraham/418953092adafbb59b55b894c42fc1af to your computer and use it in GitHub Desktop.
Minimal config for setting up Refinerycms (April 2021)
default: &default
adapter: postgresql
host: localhost
username: <%= Rails.application.credentials[:database][:username] %>
password: <%= Rails.application.credentials[:database][:password] %>
database: <%= Rails.application.credentials[:database][:dbname] %>_<%= Rails.env %>
pool: 5
development:
<<: *default
test:
<<: *default
production: &production
database: <%= ENV['DATABASE_URL'] %>
<<: *default
# At least these refinery gems
gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: 'master'
gem 'refinerycms-authentication-devise', git: 'https://github.com/refinery/refinerycms-authentication-devise', ref: 'master'
gem 'refinerycms-wymeditor', git: 'https://github.com/parndt/refinerycms-wymeditor', branch: 'master'
I will try using these to build a new refinery app, and see what else I need to do.
@anitagraham
Copy link
Author

Refinery default home page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment