We recommend using Boxen to install the required dependencies. If not using boxen, you will need to install the following: Ruby, node.js, bundler, Postgres.
After installing Boxen, run script/bootstrap
to install gems and seed your database.
Run script/server
and navigate to https://gbas.dev.
Make sure you have a test database by running rake db:test:prepare
. Then, either use bundle exec 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.