
Hanami
A flexible framework for maintainable Ruby apps.
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
A flexible framework for maintainable Ruby apps.
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.
gem install hanami
Usage
hanami new bookshelf cd bookshelf && bundle bundle exec hanami dev
Now visit http://localhost:2300
Please follow along with the Getting Started guide.
$ 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
Links
User documentation
API documentation
License
See LICENSE file.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。