Releaf is Admin interface for Rails projects.
Releaf works with Rails 6.1 and Ruby 3
First add Releaf gem to your Gemfile
gem 'releaf', '~> 2.1'
Run the bundle command to install it.
Then install with
rails generate releaf:install rake db:migrate
You might want to create default role and user
Now you need to add something like this for releaf itself and standart admin, permissions controllers
Note that you should re-start your app here if you've already started it. Otherwise you'll run into strange errors.
Now open "/admin" on your dev site and login with following credentials:
email: firstname.lastname@example.org password: password
config.yml (see examples in git root) and run
New version releasing
- bump version in
- write all changes and new version number in
- commit previous changes
- create git version tag
rake gem:build && rake gem:push
- push new tag with
git push --tags