Sha256: 4ce92de03b4ad71f38e625baaf596e08a82f7b3f6299eba67d818897fb4ad9ca
Contents?: true
Size: 1.87 KB
Versions: 4
Compression:
Stored size: 1.87 KB
Contents
#PagesCms > [Try out a demo](https://fierce-atoll-4068.herokuapp.com/) Pages CMS uses nested forms and draggable items to allow the user to build a site within the predefined layout from a designer. It incorporates an image management system as well as a page management system. It's like a wordpress page builder on rails. ####Advantages - Get hacking right away with out of the box support for bootstrap. - Easily drag page layouts into the position you want them. - Built in blog. - Limited dependencies. - Easily customized. - Lightweight and easy to understand: Built with simple rails techniques everyone can understand. ## Installation 1. Add: `gem 'pages_cms'` to your `Gemfile` 2. Run: `$ rails generate pages_cms:install` 3. Add: `//= require cocoon` to your `application.js` file This has built everything that PagesCMS needs to work, but to get hacking with some default styling and layout included, follow the next steps: 1. Run: `rails generate pages_cms:views` 2. Add: `gem "bootstrap-sass"` to your `Gemfile` 3. Add: `//= require bootstrap` to your `application.js` 4. Add: `*= require pages_cms/pages_cms` to your `application.css` 5. Run: `$ bundle install` > You should now be able to go to `/admin/pages` and start building pages! #### The generator has added three methods to your App: | Method | Usage | | ------------------------- | ------------------------------------------------------- | | `logged_in_admin` | Authorizes controllers in the `PagesCms` engine | | `current_user_is_admin?` | Verifies that the current user is an admin in the views | | `slugged_path` | Creates a slug of the path for user generated pages | Make sure to fill these methods out to secure your application. ##Contributing More than welcome! 1. Fork 2. Make Topic Branch 3. Submit Pull Request ##Decorators and Customization Coming soon.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pages_cms-0.2.2 | README.md |
pages_cms-0.2.1 | README.md |
pages_cms-0.2.0 | README.md |
pages_cms-0.1.1 | README.md |