The web, with simplicity. https://github.com/hanami/hanami
Go to file
Luca Guidi 8477b815d8
Add email address to CoC. Closes #929
2018-05-07 17:26:16 +02:00
bin Don't require `:plugins` `Gemfile` group when running `hanami new` 2017-10-04 10:18:00 +02:00
lib Generate new projects with dotenv ~> 2.4 (#926) 2018-04-27 15:52:50 +02:00
script Merge branch 'master' into develop 2018-03-29 16:33:55 +02:00
spec Generate new projects with dotenv ~> 2.4 (#926) 2018-04-27 15:52:50 +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 Render 500 custom template if an exception happens in a view or template (#866) 2018-02-27 14:11:06 +01:00
.travis.yml Add ruby 2.5.0 to travis build 2018-01-12 10:25:41 +05:00
CHANGELOG.md Prepare for v1.2.0 2018-04-10 11:30:05 +02:00
CODE_OF_CONDUCT.md Add email address to CoC. Closes #929 2018-05-07 17:26:16 +02:00
CONTRIBUTING.md Lotus => Hanami 2016-01-20 17:06:26 +01:00
FEATURES.md Prepare for v1.2.0 2018-04-10 11:30:05 +02:00
Gemfile Generate new projects with dotenv ~> 2.4 (#926) 2018-04-27 15:52:50 +02:00
LICENSE.md Update copyright to 2017 2017-03-06 00:05:18 +01:00
README.md Prepare for v1.2.0 2018-04-10 11:30:05 +02:00
Rakefile Hold global configuration via Hanami.configure 2016-10-03 22:39:55 +02:00
hanami.gemspec Prepare for v1.2.0 2018-04-10 11:30:05 +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 Open Source Helpers

  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

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.

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 bookshelf --hanami-head
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-2018 Luca Guidi.