mirror of
https://github.com/google/blockly.git
synced 2025-12-13 12:50:07 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user