- Install ImageMagick (
brew install imagemagick
orsudo apt-get install imagemagick
)
- Copy and modify the database.yml file:
cp config/database.yml.example config/database.yml
- Copy and modify the .env file:
cp .env.example .env
- Run
bundle install
to install all the gems - Run
rake db:setup
to create and seed the database - Run
foreman start
to run the server
- Run
rake db:test:load
- Run
guard
in another terminal to re-run the tests as and when files are modified
- Run
bundle install
- Run
rake db:migrate