_ _ _ _ _ .-.-. ___| | _____ _____ _ __(_)_ __ | |_ ___ _ __ __ _ ___| |_(_)_ _____ (_\|/_) / __| |/ _ \ \ / / _ \ '__| | '_ \| __/ _ \ '__/ _` |/ __| __| \ \ / / _ \ ( /|\ )| (__| | (_) \ V / __/ | | | | | | || __/ | | (_| | (__| |_| |\ V / __/ '-'-' \___|_|\___/ \_/ \___|_| |_|_| |_|\__\___|_| \__,_|\___|\__|_| \_/ \___|
Simple dashboard theme for rails 3.x
To install simply fire up your favorite editor and write
gem 'clovercms-dashboard', :require => :dashboard in your
rails g clover_cms:dashboard:install
Running the tests
You first need to download dashboard from git and do as follows:
git clone git://github.com/cloverinteractive/clovercms-dashboard.git
bundle exec test/dummy/script/rails g clover_cms:dashboard:install
Personalize the way I use dashboard
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
rails g clover_cms:dashboard:views that will copy all the views into your app/views directory.
But wait! I use haml
rails g clover_cms:dashboard:views --haml that should do it.
We currently test and integrate in:
- ruby 1.9.2
- ruby 1.8.7
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:
- 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.