The web, with simplicity. https://github.com/hanami/hanami
Go to file
Luca Guidi d109818046
Prepare for v1.1.0.beta2
2017-10-03 15:19:13 +02:00
bin Gemfile plugins (#832) 2017-09-27 13:50:07 +02:00
lib Prepare for v1.1.0.beta2 2017-10-03 15:19:13 +02:00
script CLI: `hanami version` rewrite (#771) 2017-04-26 09:52:59 +02:00
spec Prepare for v1.1.0.beta2 2017-10-03 15:19:13 +02:00
vendor Vendor PhantomJS 2.1.1 in our repository 2016-10-20 12:13:06 +02:00
.gitignore Prepare for v1.1.0.beta2 2017-10-03 15:19:13 +02:00
.rspec Restart 2016-09-22 17:48:58 +02:00
.rubocop.yml Prepare for v1.1.0.beta2 2017-10-03 15:19:13 +02:00
.travis.yml Update travis rubies 2017-09-17 17:06:22 +02:00
CHANGELOG.md Prepare for v1.1.0.beta2 2017-10-03 15:19:13 +02:00
CODE_OF_CONDUCT.md Extract Code of Conduct from README 2016-12-01 08:14:09 +01:00
CONTRIBUTING.md Lotus => Hanami 2016-01-20 17:06:26 +01:00
FEATURES.md Prepare for v1.1.0.beta1 2017-08-11 16:37:56 +02:00
Gemfile Prepare for v1.1.0.beta2 2017-10-03 15:19:13 +02:00
LICENSE.md Update copyright to 2017 2017-03-06 00:05:18 +01:00
README.md Hanami::Cli => Hanami::CLI (#812) 2017-08-01 10:31:31 +02:00
Rakefile Hold global configuration via Hanami.configure 2016-10-03 22:39:55 +02:00
hanami.gemspec Prepare for v1.1.0.beta2 2017-10-03 15:19:13 +02:00

README.md

Gem Version Build Status Coverage Code Climate Dependencies Inline docs

Hanami 🌸

The web, with simplicity.

Frameworks

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.

Installation

Hanami supports Ruby (MRI) 2.3+

gem install hanami

Usage

hanami new bookshelf
cd bookshelf && bundle
bundle exec hanami server # visit http://localhost:2300

Please follow along with the Getting Started guide.

Donations

You can give back to Open Source, by supporting Hanami development via a donation. 💚

Supporters

Contact

Community

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.

Contributing

  1. Fork it ( https://github.com/hanami/hanami/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

How To Use Hanami HEAD

If you want to test Hanami's HEAD to try a new feature or to test a bug fix, here's how to do:

git clone https://github.com/hanami/hanami.git
cd hanami && bundle
bundle exec hanami new --hanami-head=true bookshelf
cd bookshelf
vim Gemfile # edit with: gem 'hanami', path: '..'
bundle

Development Requirements

  • Ruby 2.3+ / JRuby 9.1.5.0+
  • Bundler
  • PhantomJS
  • Node.js (MacOS)

Testing

In order to simulate installed gems on developers' computers, the build installs all the gems locally in vendor/cache, including hanami code from lib/.

Before running a test, please make sure you have a fresh version of the code:

./script/setup
bundle exec rspec spec/path/to/file_spec.rb

To run all the tests, please use:

./script/ci

Versioning

Hanami uses Semantic Versioning 2.0.0

Released under MIT License.

This project was formerly known as Lotus (lotusrb).

Copyright © 2014-2017 Luca Guidi.