Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cubesystems/releaf

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,949 Commits
2,949 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Releaf

Releaf is Admin interface for Rails projects.

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

Build Status Coverage Status Code Climate

Getting started

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

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

Testing

Setup

Create config.yml (see examples in git root) and run

rake dummy:setup

Running rspec

rspec .

or

rake ci

Cleanup

rake dummy:remove

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  

About

Administration interface for Ruby on Rails

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 11

Morty Proxy This is a proxified and sanitized view of the page, visit original site.