Removed material design, service worker (still buggy), and detailed documentation.
Added support for Github Pages deployment, gulp plumber to stop gulp reload from crashing, and auto reload when js files change.
Clone repository to new location, or use the zip file.
Type $ npm install
in directory.
Make git repository and add to Github
Visit https://github.com/new and add repository name [repo].
Create the git repository and set it's remote to the new github repo.
git init
git add .
git commit -m "First commit"
git remote add origin https://github.com/[user]/[repo].git
git remote -v
git push origin master
Then type: $ gulp deploy
to push to Github Pages.
- Run
$ gulp serve
to write, debug, and test feature locally. - Use gulp clean first to remove
dist
directory. Then commit code normally:
gulp clean
git add .
git commit -m "a change message"
git push origin master
- Run
$ gulp deploy
to builddist
directory and push it to gh-pages branch.
View original documentation for more details.
Historical notes about changes needed from .6 version of google-web-starter-kit to make Github Pages deployment work.
npm install --save-dev gulp-subtree
npm install --save-dev vinyl-paths
New .gitignore:
node_modules
+#dist
- dist
.tmp
app.yaml
Delete dist
directory contents
rm -rf dist/*
There's an existing branch in the tree.
$ git push origin --delete gh-pages
Added deploy task
- Run
$ gulp deploy
. - Visit
http://[your-username].github.io/[repo-name]
.
- See gulp-subtree for details on changing the branch and commit message.
- See GitHub Pages documentation for features such as custom domains.