Skip to content

Files

Latest commit

845b574 · May 17, 2016

History

History
27 lines (17 loc) · 804 Bytes

setting_up_a_development_environment.md

File metadata and controls

27 lines (17 loc) · 804 Bytes

Setting up a development environment

Installation

You'll need to first install the following:

  • Ruby 2.3.1
  • Bundler
  • node.js
  • Postgres
  • imagemagick
  • qt

Then, run script/bootstrap to install gems and seed your database.

Development

Run script/server and navigate to http://localhost:3000.

We automatically generate a dummy user account. You can login as admin@example.com with the password password.

Testing

Make sure you have a test database by running rake db:test:prepare. Then, either use bin/guard, which will watch for changes and run tests automatically, or run rspec directly.

(If you're on Linux, you'll need to manually run an X server before running javascript-enabled specs.)