####Looking to use Google App Engine as a webhost? This app.yaml will help take you there.
#####Additionally, I've included a rough workflow / the log kept during initial setup.
Prereq:
- OSX
- homebrew
- npm/yeoman/grunt/assemble
In Terminal
brew install google-app-engine
Create an App Engine project
- https://console.developers.google.com
- https://appengine.google.com (additional dashboard)
Project settings
- Project ID: someName
- App ID: someName-YYYY
- ex: nintendo-mk8 / nintendo-mk8
- ex2: lego-lotr / lego-lotr-2014
In your local project/app folder, build your app.yaml
In Terminal:
grunt build
(which runs the dist/build process, etc)
then:
appcfg.py --oauth2 update <path-to-dist-folder>
which authenticates the push via oauth
If you plan on utilizing a Git repo, and would like to set up Push-to-deploy for one less step:
go back to your dashboard
navigate here
- left panel > source code > releases
tick deploy source only
click create pipeline button
😎 Done
using SourceTree for Git? https://gist.github.com/dustintheweb/21c308b82a024fc8d585
Looks like around Dec 2014 Google decided to disable the simple push-to-deploy for new apps, in favor of a more complicated Jenkins solution. This is annoying, but it looks like progress is being made towards a middle ground https://groups.google.com/forum/#!search/push-to-deploy/google-appengine/XUIh7QlO37U/wL3aqIXlYiAJ