- Create new project (
myproject). - Create a new git repository. (You can use the one described at Source Code | Browse.)
See https://github.com/google/web-starter-kit/blob/master/docs/install.md.
See https://cloud.google.com/sdk/.
# In your git repo
git remote add web-starter-kit https://github.com/google/web-starter-kit.git
git remote add app-yaml https://gist.github.com/b7b2e10187b9c8bdc795.git # this gist
git fetch --all --tags
git merge web-starter-kit/master # or git merge v0.5.2 to merge a tag
git merge app-yaml/master
npm install
gulp # "npm link gulp" if error
cp app.yaml dist
cd dist
appcfg.py --oauth2 update . # "rm ~/.appcfg_oauth2_tokens" if error
If the update fails, check that your application in app.yaml matches the project id in the Developers Console.
Use gulp serve for local development.
The included deploy script runs gulp and deploys to GAE.