Hanami is a modern web framework for Ruby.
Trusted by
Download, Develop, Deploy in 5 minutes.
% gem install hanami
Successfully installed hanami-1.3.2
1 gem installed
% hanami new bookshelf --database=postgresql
22 files successfully created
% cd bookshelf && echo "ruby '2.6.3'" >> Gemfile && bundle
Bundle complete! 9 Gemfile dependencies, 59 gems now installed.
% git add . && git commit -m "Initial commit"
[master (root-commit) 2dd2fad] Initial commit
40 files changed, 808 insertions(+)
% heroku apps:create
Creating app... done, ⬢ Creating cherry-blossom-1234
https://cherry-blossom-1234.herokuapp.com/ | https://git.heroku.com/cherry-blossom-1234.git
% heroku config:add SERVE_STATIC_ASSETS=true
Setting SERVE_STATIC_ASSETS and restarting ⬢ cherry-blossom-1234... done, v2
% heroku config:add SMTP_HOST=""
Setting SMTP_HOST and restarting ⬢ cherry-blossom-1234... done, v3
% heroku config:add SMTP_PORT=""
Setting SMTP_PORT and restarting ⬢ cherry-blossom-1234... done, v4
% git add . && git commit -m "Initial commit"
# ...
% git push heroku master
# ...
remote: Verifying deploy... done.
To https://git.heroku.com/cherry-blossom-1234.git
* [new branch] master -> master
% heroku run bundle exec hanami db migrate
Running bundle exec hanami db migrate on ⬢ cherry-blossom-1234... up, run.9274 (Free)
# ...
% heroku open
Opening cherry-blossom-1234... done
Join a community of over 2,300+ developers.
By clicking "Subscribe" I want to subscribe to Hanami mailing list.