Skip to content

responsivepath/frontend-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Boilerplate

Requirements

Setup

To install the necessary dependencies to build the frontend, you'll need to start by making sure you have all required build tools installed. To do this, run the following commands from this directory:

bundle install – this will install the necessary RubyGems, defined in the Gemfile npm install – this will install the necessary Node modules, defined in the package.json file

Gems

See Gemfile & Gemfile.lock

Node Modules

See package.json

Usage

A grunt file has been setup for this project which should be used to handle the Sass compilation.

Default command (watch directory for changes and run tasks, such as compass). This is what should be run for daily development.

grunt

A method has been created to resize images from the retina size to the non-retina size.

grunt img – Resizes images in bg2x and icon2x to 50% and saves to non-2x folders. Does not overwrite current images grunt img --overwrite - Same as above, but overwrites all current non-retina images with the 2x version

Compass can be run through ruby rather than grunt (Node) if needed.

bundle exec compass – Load required gems and compile compass

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published