Sha256: 147ebf515501f1461d23a2c21843159eda266bca49387d0e7bc25d396868615d

Contents?: true

Size: 632 Bytes

Versions: 1

Compression:

Stored size: 632 Bytes

Contents

# Installation
Add this line to your application's Gemfile:

```ruby
gem 'monarchy'
```

And then execute:

    $ bundle

To create initials migrations and necessary files run:
```
rails g monarchy:setup
```

This will create for you:

1. Migrations:
  - `monarchy_create_users`
  - `monarchy_create_hierarchies`
  - `monarchy_create_memberships`
2. Configuration file in `config/initializers/monarchy`
3. Default `User` model (optional)

**If you want to use your current `User` model just skip generation of: **
 - `db/migrate/monarchy_create_users.rb`
 - `app/models/user.rb`

And add to your current `User` model `acts_as_user`

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
monarchy-2.0.0.pre.beta.1 docs/installation.md