With Node.js installed, run the following one liner from the root of your Polymer Starter Kit download:
npm install -g gulp bower && npm install && bower install- Node.js, used to run JavaScript tools from the command line.
- npm, the node package manager, installed with Node.js and used to install Node.js packages.
- gulp, a Node.js-based build tool.
- bower, a Node.js-based package manager used to install front-end packages (like Polymer).
To install dependencies:
- Check your Node.js version.
node --versionThe version should be at or above 0.12.x.
-
If you don't have Node.js installed, or you have a lower version, go to nodejs.org and click on the big green Install button.
-
Install
gulpandbowerglobally.
npm install -g gulp bowerThis lets you run gulp and bower from the command line.
- Enter to the Hackers Week folder and Install local
npmandbowerdependencies.
npm install && bower installgulp serveThis outputs an IP address you can use to locally test and another that can be used on devices connected to your network.
gulp test:localgulp