This workshop was created by Rich McLaughlin and Kevin McGinty for Vertafore Skill-Up 2015 East Lansing
JavaScript Lightweight Applications
Session #1 - Wed July 8, 2015
Session #2 - Fri July 10, 2015
- Install NodeJS
- This will include npm
- Download git to use the CLI
- Clone this repository
git clone https://github.com/RichMcL/skill-up-2015
-- downloads to working directory- Or download and extract the ZIP
- Or if you installed the GitHub client you can click the "Clone in Desktop" button on the right side of the repo.
- Run
npm install
from the root of the project- Optional - Run
npm install -g nodemon
to install nodemon - Watches for changes to automatically restart server
- Optional - Run
- Run
node server
without nodemon- Optional - Run
nodemon server.js
instead if you installed nodemon
- Optional - Run
- Visit http://localhost:8080/ in the browser
- To clone down the solution branch run
git clone -b answers https://github.com/RichMcL/skill-up-2015.git skill-up-2015-answers
- Windows users may have to update their path environment setting
- Windows XP- %USERPROFILE%\Application Data\npm\node_modules
- Windows 7- %AppData%\npm\node_modules
- Or wherever npm ends up installing the modules on your machine