Skip to content
Administration interface for Ruby on Rails
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
lib
releaf-content
releaf-core
releaf-i18n_database
releaf-permissions
script
spec
templates/releaf
.codeclimate.yml
.coveralls.yml
.csslintrc
.eslintignore
.eslintrc
.gitignore
.rubocop.yml
.simplecov
.travis.yml
.versions.conf
.yardopts
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE
README.md
Rakefile
config.yml.mysql.example
config.yml.mysql.travis
config.yml.pg.example
config.yml.pg.travis
releaf.gemspec

README.md

Releaf

Releaf is Admin interface for Rails projects.

Documentation: http://cubesystems.github.io/releaf/documentation/

Changelog: https://github.com/cubesystems/releaf/blob/master/CHANGELOG.md

Build Status Coverage Status Code Climate

Getting started

Releaf works with Rails 4.2

First add Releaf gem to your Gemfile

gem 'releaf', github: 'cubesystems/releaf'

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

rake db:seed

Now you need to add something like this for releaf itself and standart admin, permissions controllers

mount_releaf_at '/admin'

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: admin@example.com
password: password

New version releasing

  1. bump version in lib/releaf/version.rb
  2. write all changes and new version number in CHANGELOG.md
  3. commit previous changes
  4. create git version tag ex: v1.0.12
  5. run rake gem:build && rake gem:push  
  6. push new tag with git push --tags  
You can’t perform that action at this time.