GithubHelp home page GithubHelp logo

clovercms-articulate's Introduction

Articulate Build Status

just simple article support for clovercms

Requirements

Getting Started

To install simply open up Gemfile in your favorite editor and add gem 'clovercms-articulate' then:

  1. bundle install
  2. rails g clover_cms:articulate:install
  3. rake db:migrate
  4. Enjoy

Personalize the way you use articulate

Wait, wha'?

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.

But wait! I want my views too

Simply run rails g clover_cms:articulate:views that will copy all the views into your app/views directory.

But wait! I use haml

Simply pass down the --haml flag to the views generator like this:

rails g clover_cms:articulate:views --haml

Running the tests

You first need to download articulate from git and do as follows:

  1. git clone git://github.com/cloverinteractive/clovercms-articulate.git
  2. cd clovercms-articulate
  3. bundle install
  4. cd test/dummy && rails g clover_cms:articulate:install && cd ../../
  5. rake

Supported platforms

We currently test and integrate in:

  • ruby 1.9.2
  • ruby 1.8.7
  • ree
  • jruby 1.6.2

Run the rails dummy application

This gem comes with a dummy application to test in the browser, just do the following from the articulate dir:

  1. cd test/dummy
  2. rails s
  3. You can now visit http://localhost:3000/ in your browser

Contribute

Feel free fork this project and submit a pull request, don't forget to add yourself to the contributors list in this README file.

Contributors

clovercms-articulate's People

Contributors

enriquevidal avatar

Watchers

Alex Cabrera avatar Alejandro Méndez avatar James Cloos avatar Mario Bonales avatar Ulises Ramirez-Roche avatar Gaby Vargas avatar

clovercms-articulate's Issues

Rails Generator Tests

So, I hooked up the rails generator, but there needs to be a test for that feature.

fix filenames of gem

We currently have articulate.gemspec, lib/articulate.rb and require 'articulate' on our dummy application, not sure this is right. We need to find if that is something valid and/or start our own convention for naming the lib in our gem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.