MixRails

Build Status Dependency Status Code Climate

MixRails is a CMS based on Ruby on Rails.

Usage

Create a new rails project.

$ rails new myproject --skip-bundle

Add this line to your application's Gemfile:

gem 'mix-rails'

And then execute:

$ cd myproject
$ bundle install

In your config/application.rb add require 'mix-rails/all'.

require 'rails/all'
# After rails requiring mix-rails!!
require "mix-rails/all"

And then run the application

$ bundle exec rails server

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

Assets

You can use Backbone, CoffeeScript, HAML,

Auth

Mix-Rails uses Devise for auth, you can see more docs at:

ACL

Rolify + Authority

Create a default user.

$ bundle exec rake create_user[yourname@example.com,mypassword]

If you are using admix enter /admix and you will see the login page. You can also login with page /users/sign_in

Admix

Admix is a administrative area for any system.

URL

You can change default path for admix setting Admix::namespace_path ```ruby Admix::namespace_path = "myadminpath"

You will access http://localhost:3000/myadminpath and see Admix running!!


[![Admix](http://img233.imageshack.us/img233/6731/screenshotfrom201301221.png)]

# Plugins (Extensions)

## Creating a extension

    $ rails plugin new mix-rails-pluginame -T --skip-bundle --dummy-path=spec/dummy --full
s