Skip to content

Instantly share code, notes, and snippets.

@davidwesst
Created June 4, 2015 15:20
Show Gist options
  • Save davidwesst/f447037dccf96a6404b7 to your computer and use it in GitHub Desktop.
Save davidwesst/f447037dccf96a6404b7 to your computer and use it in GitHub Desktop.
5 Reasons - Demo
## 5 Reasons Why Your Website Is[n't] a Native App
These scripts are the commands used for the presentation demonstration
#
# Bower Demo
#
cd ~/prdc15/bowerdemo
git init
bower init
echo "Create code file here"
bower login
bower register <Your Git URL>
bower install
#
# NPM Demo
#
cd ~/prdc15/npmdemo
git init
npm init
npm login
echo "Create a javascript file"
npm publish
echo "Make an edit to the package here"
# this will fail :(
npm publish
# this will fix it!
npm version patch
npm publish
# Demonstrate installing a package
cd ~/prdc15/npmapp
npm install npmdemo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment