返回资讯中心
外部精选
软件工程
#开发者实时流

Hanami

A flexible framework for maintainable Ruby apps.

Hacker News 最新gtirloni2026/10/23 · 22 天前2 分钟阅读

以下正文同步自 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 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →