Skip to content

Complete Development Installation

Luke Baker edited this page Sep 18, 2015 · 3 revisions

If you haven’t completed the Installing instructions, complete those first.

Set up the mysql database

Open config/database.yml and edit the development block in the file, adding the appropriate host, username, and password for accessing the MySQL server. The development block should look something like this:

development: &default
  adapter: mysql2
  database: rebirth_development
  pool: 5
  timeout: 5000
  host: localhost
  username: root
  password: my_password

Create the database with ./bin/rake db:create and then ./bin/rake db:schema:load.

Start up the server.

bundle exec ruby ./script/server -p 3000

Start DelayedJob Workers

For proper working of catchup algorithm, you’ll need to have some delayed_job workers. This worker is also needed if you’re using the feature that allows you to export results as CSV in association with the All Our Ideas code.

./bin/rake jobs:work