Created
May 14, 2014 20:12
-
-
Save karan/6a026cd1d4505eb5e070 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Navigate back to your development directory | |
cd .. | |
# git clone the Polymer tools repository | |
git clone git://github.com/Polymer/tools.git | |
# Create a temporary directory for publishing your element and cd into it | |
mkdir temp && cd temp | |
# Run the gp.sh script. This will allow you to push a demo-friendly | |
# version of your page and its dependencies to a GitHub pages branch | |
# of your repository (gh-pages). Below, we pass in a GitHub username | |
# and the repo name for our element | |
../tools/bin/gp.sh karan test-element | |
# Finally, clean-up your temporary directory as you no longer require it | |
cd .. | |
rm -rf temp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment