Skip to content

cloverinteractive/clovercms-dashboard

Repository files navigation

              _                     _       _                      _   _
  .-.-.   ___| | _____   _____ _ __(_)_ __ | |_ ___ _ __ __ _  ___| |_(_)_   _____
 (_\|/_) / __| |/ _ \ \ / / _ \ '__| | '_ \| __/ _ \ '__/ _` |/ __| __| \ \ / / _ \
 ( /|\ )| (__| | (_) \ V /  __/ |  | | | | | ||  __/ | | (_| | (__| |_| |\ V /  __/
  '-'-'  \___|_|\___/ \_/ \___|_|  |_|_| |_|\__\___|_|  \__,_|\___|\__|_| \_/ \___|

Dashboard Build Status

Simple dashboard theme for rails 3.x

Requirements

Getting Started

To install simply fire up your favorite editor and write gem 'clovercms-dashboard', :require => :dashboard in your Gemfile then:

  1. bundle install
  2. rails g clover_cms:dashboard:install
  3. Enjoy!

Running the tests

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

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

Personalize the way I use dashboard

Wait, wha'?

rails g clover_cms:dashboard:install copies the needed sass and images for your application to have a dashboard look.

But wait! I want to put my sass somewhere else in app

By default sass will get copied to app/stylesheets which is compass, standard, but you can switch it to any other place within app just by sending a parameter:

rails g clover_cms:dashboard:install sass # This will copy all the sass files to app/sass instead

But wait! I'm playing with rails 3.1 I need the asset pipeline assets dir

Relax once again the answer is one parameter away:

rails g clover_cms:dashboard:install --asset-pipeline

But wait! I want my views too

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

But wait! I use haml

Simply run rails g clover_cms:dashboard:views --haml that should do it.

Supported platforms

We currently test and integrate in:

  • ruby 1.9.2
  • ruby 1.8.7
  • ree

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

About

Dashboard theme of clovercms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages