Skip to content

Instantly share code, notes, and snippets.

@kirley
Created June 24, 2016 23:56
Show Gist options
  • Save kirley/773cef88f2e7bd4e7f90b723f395db11 to your computer and use it in GitHub Desktop.
Save kirley/773cef88f2e7bd4e7f90b723f395db11 to your computer and use it in GitHub Desktop.
Ember Workshop Setup
Stuff to Download/Install
Install nvm
nvm lets you toggle between different versions of node.js easily. Installation is pretty simple, but is slightly different for Mac vs. Windows. Follow instructions here
Once you’re done, you can install versions of node quite easily
nvm install 5
nvm install 6
and set the default version of node to use
nvm alias default 5
Install npm_lazy
npm_lazy is a local npm cache, that works offline using some simple proxying. Installation is pretty simple:
npm install -g npm_lazy
You can then have it create a default config file for you, and start it up
npm_lazy --init > ~/npm_lazy.config.js
npm_lazy --config ~/npm_lazy.config.js
Finally, point npm to localhost:8080 as a registry.
npm config set registry http://localhost:8080/
You can always reverse this (later) by doing
npm config set registry http://registry.npmjs.com/
Now, clear your npm cache, so you pull everything through npm_lazy
npm cache clean
And start npm installing stuff. Anything you install will be cached for offline use in case you lose connectivity later
Install ember-cli
I suggest installing ember-cli 2.5 and 2.6, since there were some important bug fixes and new bugs introduced.
npm install -g ember-cli@2.5.0
npm install -g ember-cli@2.6.0
Install Visual Studio Code
In addition to your text editor of choice, I want to make sure everyone has visual studio code. We’re going to do some node.js debugging, and this makes it WAY more fun. Download it here
Ruby
We’ll end up doing some CI/CD stuff, and for that it’s convenient to have Travis-CI’s ruby gem installed. Installation instructions are here, and you have a Mac, note that you already have ruby installed.
Heroku toolbelt
This will help us manage our heroku apps from the command line. Get the tool belt here and install it
I can't wait to teach this new stuff to you! Please let me know if you have any questions,
Mike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment