-
Notifications
You must be signed in to change notification settings - Fork 9
Installation
vala edited this page Dec 5, 2014
·
1 revision
Para can be installed in 5 minutes, going through the following steps :
For now, only the Bundler installation is possible, since there's no released gem on RubyGems.
Add the following line to the Gemfile
gem 'para', github: 'para-cms/para'
Then run :
bundle install
Setting up Para is easy. Run this command to generate all needed files
rails g para:install
This will do the following
- Create a configuration initializer at :
config/initializers/para.rb
- Copy the needed migrations
- Add the required gems if they're not already in the Gemfile, and optionally run their
:install
generator in you app. See gems list in the section "Gems added to the Gemfile" - Create a default admin user
- Mount the para engine
Please note that you should add a root
path to your routes.rb, in the form
of :
root to: 'home#index'
If you don't, you'll get errors when trying to access the admin panel.
- Devise : Authentication of admin users
-
CanCan : Authorizations depending on admin roles (Note : uses the
Cancancan
fork) - Rolify : Admins roles management
- Active Decorator : For adding helper methods to models without including them in models
- Simple Form : Form builder
- Simple Form Extension : Additional fields for Simple Form
- Ransack : Search DSL
- Paperclip : File and images uploads
- Friendly Id : Pretty URLs with model slugs instead of plain ids
- Kaminari : Pagination