Skip to content
szTheory edited this page Apr 1, 2018 · 3 revisions

Database

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)

Application Configuration

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

Clone this wiki locally