cp .env.sample .env
cp config/database.yml.sample config/database.yml
bundle install
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
Run services in separate terminals:
bundle exec rails console
bundle exec rails server
bundle exec guard
Guard will:
- Run testing suite (
rspec
) - Run code style QA (
rubocop
) - Install rubygems from Gemfile (
bundle install
)
http://localhost:3000/swagger
http://localhost:3000/admin
- defaults:
admin@example.com
:password
http://localhost:3000/letter_opener
http://localhost:3000/sidekiq