Improve App Engine deployment (#3681)

Make the gcloudignore directives more specific by using a leading /.
Update instructions.
Remove guidance on creating compressed-only deploy
This commit is contained in:
Neil Fraser
2020-02-27 11:54:44 -08:00
committed by GitHub
parent b14bbe7e66
commit 2096fa5b15
2 changed files with 26 additions and 27 deletions

View File

@@ -1,23 +1,24 @@
# Do not upload these files.
.*
deploy
*.soy
static/appengine/
static/closure/
static/demos/plane/soy/*.jar
static/demos/plane/xlf/
static/externs/
static/i18n/
static/msg/json/
static/node_modules/
static/package/
static/theme_scripts/
static/typings/
*.komodoproject
/deploy
/static/appengine/
/static/closure/
/static/demos/plane/soy/*.jar
/static/demos/plane/xlf/
/static/externs/
/static/i18n/
/static/msg/json/
/static/node_modules/
/static/package/
/static/theme_scripts/
/static/typings/
static/build.py
static/gulpfile.js
static/jsconfig.json
static/LICENSE
static/package-lock.json
static/package.json
static/README.md
/static/build.py
/static/gulpfile.js
/static/jsconfig.json
/static/LICENSE
/static/package-lock.json
/static/package.json
/static/README.md

View File

@@ -11,12 +11,13 @@ structure:
blockly/
|- app.yaml
|- deploy
|- index.yaml
|- index_redirect.py
|- main.py
|- README.txt
|- requirements.txt
|- storage.js
|- storage.py
|- closure-library/ (Optional)
`- static/
|- blocks/
|- core/
@@ -26,7 +27,7 @@ blockly/
|- msg/
|- tests/
|- blockly_compressed.js
|- blockly_uncompressed.js (Optional)
|- blockly_uncompressed.js
|- blocks_compressed.js
|- dart_compressed.js
|- javascript_compressed.js
@@ -34,11 +35,8 @@ blockly/
|- php_compressed.js
`- python_compressed.js
Instructions for fetching the optional Closure library may be found here:
https://developers.google.com/blockly/guides/modify/web/closure
Go to https://appengine.google.com/ and create your App Engine application.
Modify the 'application' name of app.yaml to your App Engine application name.
Modify the 'PROJECT' name in the 'deploy' file to your App Engine application name.
Finally, upload this directory structure to your App Engine account,
wait a minute, then go to http://YOURAPPNAME.appspot.com/
then go to http://YOURAPPNAME.appspot.com/