Sha256: 312aedc8b655e713bbd3afe7aaef9144a0fd188eb35f266aa9299683f6b198e4

Contents?: true

Size: 1.64 KB

Versions: 15

Compression:

Stored size: 1.64 KB

Contents

# RocketCMS

rails_admin + mongoid/activerecord + elasticsearch CMS

Very opinionated and tuned for our needs.

Sorry, no documentation or examples are availiable yet. Stay tuned

**Before 1.0 API and class names should be considered unstable and can change at
any time!**

## Installation

Add this line to your application's Gemfile:

    gem 'rocket_cms_mongoid'

or:

    gem 'rocket_cms_activerecord'

*Only PostgreSQL is tested or supported for AR. Others will probably work, but untested.*

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rocket_cms

For activerecord, generate migrations and run them

    rails g rails_admin_settings:migration
    rails g rocket_cms:migration
    rake db:migrate

## Usage

### Using app generator

Make sure you have rails 4.1 installed

    rails -v

If not, uninstall rails and install again

    gem uninstall rails
    gem install rocket_cms
    
Then, for mongoid:

    rails new my_app -T -O -m https://rscz.ru/glebtv/rocket_cms/raw/master/template.rb

for ActiveRecord:

    rails new my_app -T --database=postgresql -m https://rscz.ru/glebtv/rocket_cms/raw/master/template.rb

generator creates a new RVM gemset, so after cd'ing to app dir, you should run `bundle install` again if you use rvm.

### Documentation

It's basically Mongoid + Rails Admin + some of our common models and controllers, capistrano config, etc.

See their documentation for more info

## Contributing

1. Fork it
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 new Pull Request

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rocket_cms-0.6.12 README.md
rocket_cms-0.6.11 README.md
rocket_cms-0.6.10 README.md
rocket_cms-0.6.9 README.md
rocket_cms-0.6.8 README.md
rocket_cms-0.6.7 README.md
rocket_cms-0.6.6 README.md
rocket_cms-0.6.5 README.md
rocket_cms-0.6.4 README.md
rocket_cms-0.6.3 README.md
rocket_cms-0.6.2 README.md
rocket_cms-0.6.1 README.md
rocket_cms-0.6.0 README.md
rocket_cms-0.5.24 README.md
rocket_cms-0.5.23 README.md