Sha256: d958d8d6c152a3701605c2eca4e4ff74f0c482f8488a5e46877315a525abbd87

Contents?: true

Size: 1.81 KB

Versions: 1

Compression:

Stored size: 1.81 KB

Contents

# MixRails

[![Build Status](https://travis-ci.org/mixinternet/mix-rails.png)](https://travis-ci.org/mixinternet/mix-rails)
[![Dependency Status](https://gemnasium.com/mixinternet/mix-rails.png)](https://gemnasium.com/mixinternet/mix-rails)

MixRails is a CMS based on Ruby on Rails.


## Usage

Create a new rails project.

    $ rails new myproject -T --skip-bundle --dummy-path=spec/dummy

Add this line to your application's Gemfile:

    gem 'mix-rails'

And then execute:
    
    $ cd myproject
    $ bundle


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

```ruby
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](https://github.com/plataformatec/devise) for auth, you can see more docs at:

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!!
```

TODO: Add some docs for admix

[![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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mix-rails-0.23.0 README.md