Setup:
bundle install
yarn install
bundle exec hanami db create
bundle exec hanami db migrate
# generates the appropriate javascripts
yarn run build
# to watch for changes
yarn run watch
bundle exec hanami serve
Testing:
# db setup
HANAMI_ENV=test bundle exec hanami db create
HANAMI_ENV=test bundle exec hanami db migrate
# test run
yarn run test
bundle exec rake spec