Creative Rails
Start Bootstrap Creative theme adapted for Ruby on Rails.
Dependencies
This is has been tested on the following:
- Ruby 2.3.3
- Rails 5.0.1
Other dependencies:
- jquery-rails - Packaged with Rails.
- Bootstrap Sass
- Font-Awesome Rails
Usage
How to use my plugin.
Installation
Add this line to your application's Gemfile:
# PrettyDocs Rails
gem 'creative_rails', '~> 1.0', '>= 1.0.1'
Usage
How to use this plugin.
Sass
Change your application.css
to application.scss
.
$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss
Then, remove all the *= require_self
and *= require_tree .
statements from the sass file. Instead, use @import
to import Sass files.
Do not use *= require
in Sass or your other stylesheets will not be [able to access][antirequire] the Bootstrap mixins or variables.
Using SCSS, add this to your
application.scss
file:
@import "creative_rails";
JavaScript
Add the following line to your application.js
file:
//= require creative_rails
Demo
A working demo of the application is located in test/dummy
. Once you have installed all gems, run the following.
$ cd test/dummy
$ rake db:create
$ rake db:migrate
$ rails c
You can download and view Creative here
Contributing
License
Creative is a one page creative theme for Bootstrap created by Start Bootstrap.
Creative Rails was adapted by Michael Price for Ruby on Rails.
The original theme and this gem are available as open source under the terms of the MIT License.