Google I/O 2016 Web Application Installation Steps
My personal notes on installing the I/O 2016 Web Application (in March 2016).
goapp deploy -application <app-id> -version <v> dist/backend/.
Configure Firebase
You must use the legacy Firebase dashboard. Do not use the gcloud console. –2016-05-30
- Create firebase.com legacy application (<app>.firebaseio.com)
- Get application secret from https://<app ID>.firebaseio.com/?page=Admin
- Insert secret in backend/server.config.<env>
"firebase": {
"secret": "<secret key>",
"shards": [
"https://<app ID>.firebaseio.com/"
]
},
- Enable Google Plus API
- Configure credentials
CANCELLED Google Cloud Firebase Console does not work CANCELLED
https://github.com/GoogleChrome/ioweb2016/pull/514#issuecomment-205866122
- https://console.firebase.google.com/project/<project name>/settings/database
- Database
- Database secrets
- Show existing legacy token
- Create custom database authentication tokens using a legacy Firebase token generator. At least one secret must exist at all times.
Deploy
These are my personal notes. Tested on Debian stretch.
See https://github.com/GoogleChrome/ioweb2016 for more detailed instructions.
Download Google App Engine SDK for Go
unzip go_appengine_sdk_linux_<arch>_<version>.zip
Configure
mv go_appengine ~/.go_appengine
export PATH=~/.go_appengine:"$PATH"
export GOPATH=~/.go_appengine/gopath
export GOROOT=~/.go_appengine/goroot
Install node dependencies
npm install
Build
gulp serve:dist --env prod
Deploy
gulp deploy:firebaserules --env prod
goapp deploy -application <application ID> -version <version number> dist/backend/.
Temporary API
Enable in dist
After building the app:
cp -r app/temporary_api/ dist/app/
Comments
Comments powered by Disqus