The web, with simplicity

Install v1.1.1 Getting Started
Released on February 27, 2018

Hanami is a modern web framework for Ruby.

Trusted by

Download, Develop, Deploy in 5 minutes.

% gem install hanami
Successfully installed hanami-1.1.1
1 gem installed

% hanami new bookshelf --database=postgresql 19 files successfully created
% cd bookshelf && echo "ruby '2.4.2'" >> Gemfile && bundle
Bundle complete! 8 Gemfile dependencies, 50 gems now installed.

% git add . && git commit -m "Initial commit" [master (root-commit) b6df611] Initial commit 38 files changed, 685 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 SERVE_STATIC_ASSETS: true
% 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
Build your first application now. It will take you only a few minutes to learn how to do it.

Join a community of over 2,300+ developers.

By clicking "Subscribe" I want to subscribe to Hanami mailing list.
Looking for Lotus? We renamed the project and it's now called Hanami. Read the announcement.