Interactive documentation for polymer elements
Following is the list of needed software for generating this site.
- git >2.6.3 (Git Download)
- bash >4.3 (Linux and Mac have bash by default, and on windows latest git installations come with bash)
- node >4.1 (Node Download)
- npm (Npm is installed alongwith node)
- bower (Run
npm install -g bower
in the command prompt)
- Clone the repo https://github.com/atomproject/elements.git locally
- Navigate into the repo using bash prompt
- Run command
bower install && npm install
- Run command
bower install config=https://gist.github.com/chigur/01e7ca737b62d47932a9.git
- Edit the file
bower_components/config/metadata.json
to include the components you need - Run command
site_generator/generate.sh
- Run any server in the directory
_site
(https://gist.github.com/willurd/5720255)
- Fork the repo https://github.com/atomproject/elements.git
- Fork the gist https://gist.github.com/chigur/6713c27d84d139ae57e6
- Edit the forked gist
- Login to travis & enable builds for the forked repo
- Clone the repo locally
- Navigate into the repo using bash prompt and run the command
./setup-travis.sh