The web, with simplicity.
This branch contains the code for hanami
2.0.x.
Hanami is a full-stack Ruby web framework. It's made up of smaller, single-purpose libraries.
This repository is for the full-stack framework, which provides the glue that ties all the parts together:
These components are designed to be used independently or together in a Hanami application.
Hanami supports Ruby (MRI) 3.0+
gem install hanami
hanami new bookshelf
cd bookshelf && bundle
bundle exec hanami server # visit http://localhost:2300
Please follow along with the Getting Started guide.
You can give back to Open Source, by supporting Hanami development via GitHub Sponsors.
We strive for an inclusive and helpful community. We have a Code of Conduct to handle controversial cases. In general, we expect you to be nice with other people. Our hope is for a great software and a great Community.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)In addition to contributing code, you can help to triage issues. This can include reproducing bug reports, or asking for vital information such as version numbers or reproduction instructions. If you would like to start triaging issues, one easy way to get started is to subscribe to hanami on CodeTriage.
To run all test suite:
$ bundle exec rake
To run all the unit tests:
$ bundle exec rspec spec/unit
To run all the integration tests:
$ bundle exec rspec spec/integration
To run a single test:
$ bundle exec rspec path/to/spec.rb
Hanami uses Semantic Versioning 2.0.0
Copyright © 2014 Hanami Team – Released under MIT License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。