Skip to content

CodeBleu/rhalbrook-sandbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

  1. Install NodeJS via Homebrew (if it's not already)
    brew install node
  2. Install bower (http://bower.io/) npm install bower -g
  3. Install bower-installer npm install bower-installer -g
  4. Run bower in same folder as your bower.json bower install
  5. Run bower-installer to get the key files into your app (i.e. src) folder bower-installer
  6. Now look in app/ -- should see these folders which contain the bower managed dependencies
    • app/js
    • app/css
  7. There's also a folder called bower_components which is the local copy of ALL the files for each dependency
  8. Bower.json is the file that defines all this stuff (for more info read up on bower itself)
  9. To add a new dependency to bower (e.g. fakerest) bower install fakerest --save-dev
  10. The --save-dev part adds that dependency to your bower.json w/ the appropriate version
  11. To get the files ALSO added to your app/js or app/css folders, you need to manually update bower.json in the install section (for bower-installer)

Other Ideas For Dev Workflow

  1. Install npm serve (https://www.npmjs.com/package/serve) -- This is what Sean is using on this repo, fwiw
  2. Use tsc w/ the tsconfig.json file to watch for changes and auto-compile (if you use not arguments it watches for any changes and recompiles when it sees them) tsc

About

Initial Projects - Consolo Services

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.8%
  • CSS 26.6%
  • TypeScript 2.7%
  • HTML 0.9%