Style guide & elements + asset build pipeline for VHX.
Note: Currently for VHX internal use.
Initial Setup
- Clone the repo
- Run
./setup
- Done.
Starting the server
- Run
./server
- Go to: http://quartz.dev
Note: Currently for VHX internal use. You will need permissions to push changes to the quartz repo (VHX team members) and the quartz-rails rubygem repo. Create an account at https://rubygems.org/ and then let [email protected] know.
Release Steps
The build and release script will release both the vhx-quartz
gem and vhx-quartz
bower packages for use across VHX applications.
- Squash and Merge PR
- Checkout Master branch locally
- Update
VERSION
(using Semantic Versioning) - Update
CHANGELOG
(add new entry usingVERSION
's number, the date, and description from PR) - Run
./build
You can use Quartz either through the Ruby Gem or Bower package.
Via the Ruby Gem
- Add the VHX Quartz to your Gemfile
gem 'vhx-quartz'
- Then install the gem either via
bundle install
or directly with
gem install vhx-quartz
-
Then include in your layout or SASS files
a. In your Layout
Add the following to your
config.rb
filesprockets.import_asset 'vhx-quartz.css'
Then include in your layout directly
<%= stylesheet_link_tag 'vhx-quartz' %>
b. Or in your SASS files
At the top of your file, either via the asset pipeline
//= require vhx-quartz
Or via a SASS import
@import "vhx-quartz"
-
Install Bower via npm if you don't already have it installed
npm install -g bower
-
Add the VHX Quartz package to your repo
bower install vhx-quartz