To install simply open up Gemfile
in your favorite editor and add gem 'clovercms-articulate'
then:
bundle install
rails g clover_cms:articulate:install
rake db:migrate
- Enjoy
rails g clover_cms:articulate:install
copies an article model and generates an articles migration. Why do we do this? the model is perhaps the piece on your MVC stack that is most likely to change so we give you this out of the box to let you set your own validations, custom relationships, etc.
Simply run rails g clover_cms:articulate:views
that will copy all the views into your app/views directory.
Simply pass down the --haml
flag to the views generator like this:
rails g clover_cms:articulate:views --haml
You first need to download articulate from git and do as follows:
git clone git://github.com/cloverinteractive/clovercms-articulate.git
cd clovercms-articulate
bundle install
cd test/dummy && rails g clover_cms:articulate:install && cd ../../
rake
We currently test and integrate in:
- ruby 1.9.2
- ruby 1.8.7
- ree
- jruby 1.6.2
This gem comes with a dummy application to test in the browser, just do the following from the articulate dir:
cd test/dummy
rails s
- You can now visit http://localhost:3000/ in your browser
Feel free fork this project and submit a pull request, don't forget to add yourself to the contributors list in this README file.
- Enrique Vidal - Ruby developer
- Ulises Roche - Ruby developer