Skip to content

Instantly share code, notes, and snippets.

@clonn
Last active December 15, 2015 00:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save clonn/5175333 to your computer and use it in GitHub Desktop.
Save clonn/5175333 to your computer and use it in GitHub Desktop.
usage for yoeman, grunt, bower

#Yoeman, bower, grunt.js cli tool usage

Installation, node.js and npm are required.

npm install -g yo grunt-cli bower

compass is a sass compoments of ruby, and you can install compass by rubygem

gem install compass

###Usage

mkdir folder_name
cd folder_name
yo webapp
npm install
bower install

Grunt.js command line,

# for server start
grunt server

# compress static files
grunt build

#tip

if you want to remote connect

vim Gruntfile.js
#edit connect -> hostname: '0.0.0.0'

if bower some error happen.

bower install . --force-latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment