MixRails is a CMS based on Ruby on Rails.
Create a new rails project.
$ rails new myproject --skip-bundle
Add this line to your application's Gemfile:
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
You can use Backbone, CoffeeScript, HAML,
Mix-Rails uses Devise for auth, you can see more docs at:
Rolify + Authority
Create a default user.
$ bundle exec rake create_user[firstname.lastname@example.org,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 is a administrative area for any system.
You can change default path for admix setting Admix::namespace_path
Admix::namespace_path = "myadminpath" # You will access http://localhost:3000/myadminpath and see Admix running!!
Creating a extension
$ rails plugin new mix-rails-pluginame -T --skip-bundle --dummy-path=spec/dummy --full