Make sure you have at least node 0.12
npm install
For the different environments, edit the Makefile, then execute make decrypt_conf
.
Configure host in grunt/config/local.json (there's a sample you can duplicate).
https://wiki.cac.washington.edu/display/infra/Extracting+Certificate+and+Private+Key+Files+from+a+.pfx+File When uploading, remove the beginning down to : -----BEGIN
grunt
grunt build
and choose preprod.
Upload on FTP the dist folder and be careful about overwriting the .htaccess.
grunt build
and choose staging.
Then, grunt gaeDeploy:staging
On GCP, in the menu App Engine > Versions, select the staging module and make default the version you just deployed.
grunt build
and choose prod.
Then, grunt gaeDeploy:prod
On GCP, in the menu App Engine > Versions, select the default module and make default the version you just deployed.
Default search in Sublime Text:
-node_modules,-dist/js,-dist/css,-app.sublime-workspace