Follow the instructions below to install, build, and run the Project Hoverboard locally in less than 15 minutes.
Or you may use Docker container for development
-
Install Node.js (
node
) version 8 or above. Node.js includes Node Package Manager (npm
) by default. The Hoverboard usesnpm
for Polymer CLI. -
Verify that you're running
node
version 8.1 or above andnpm
version 5.0.3 or above.node -v v8.1.0 npm -v 5.0.3
-
Fork this repository
-
Clone it locally.
-
cd
into the base directory of your Hoverboard project. -
Install the application dependencies.
npm install
The diagram below is a brief summary of the directories within the PSK.
/
|---bower_components/
|---build/
|---data/
|---docs/
|---images/
|---scripts/
|---src/
| |---behaviors/
| |---effects/
| |---elements/
| |---js-wrappers/
| |---pages/
| |---styles/
|
bower_components/
is the place for project dependencies.build/
is the directory to deploy to production.data/
folder with all data for the template including config, blog, partners, schedule, sessions, speakers, team and videos.docs/
contains optional "recipes" (how-to guides) for adding features to your application or for using optional tools or editors.images/
is for static images.scripts/
is the place for JS scripts.src/
is where you store all of your source code and do all of your development.behaviors/
folder for custom behaviors.effects/
is where you keep your effects for instance scroll-effects.elements/
is where you keep your custom elements.js-wrappers/
is where you keep your custom elements.pages/
is where you keep your pages' description.styles/
houses your app's shared styles and CSS rules.
The Hoverboard is ready to be built and ran locally.
-
cd
into the base directory of your Hoverboard project. -
Serve the app locally.
npm run serve
-
Build the app.
npm run build
Now that your Hoverboard is up and running, learn how to configure app for your needs, or how to deploy the app to the web.