-
Notifications
You must be signed in to change notification settings - Fork 8
Setup
szTheory edited this page Apr 1, 2018
·
3 revisions
Copy config/database.yml.example
to config/database.yml
and edit the settings (see http://edgeguides.rubyonrails.org/configuring.html#configuring-an-sqlite3-database for specific details for SQLite, MySQL and PostgreSQL). Then configure your database accordingly (i.e. create user and database)
Copy config/app_config.yml.example
to config/development.yml
. Configurations are centralized to reside in this file.
Run rake settei:rails:install
Run rake db:create
Run rake db:migrate
Set secret_key_base
config to a non-blank value. You can generate one with SecureRandom.hex(64) from the rails console