Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.51 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.51 KB

Hanami Bookshelf (an example application)

This repository is the result of going through Hanami's Getting Started guide.

It exists as an example application.

We are only interested in Pull Requests keeping this application in sync with the Getting Started guide. That is, we do not want to add any features here to build out this application.

Usage

Hanami v1.3 supports Ruby (MRI) 2.3, < 3.0.

(Hanami v2.0 will support Ruby 3.0)

git clone git@github.com:hanami/bookshelf.git hanami-bookshelf
cd hanami-bookshelf
bundle install
bundle exec hanami db prepare
bundle exec hanami server # visit http://localhost:2300/books/new

This repository is intended to be used for instructional purposes.

For example, if you're writing a blog post explaining how to add some library to a Hanami application, rather than writing your own trivial application, you can instruct readers to clone this repository as a starting point. This should make it easier to write guides for Hanami applications.

Code of Conduct

We have a Code of Conduct that all community members are expected to adhere to.

Contributing

  1. Fork it ( https://github.com/hanami/bookshelf )
  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

Licensing

Released under MIT License.