You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
click the Download button for "Install and initialize Google Cloud SDK".<br>
53
53
3)
54
-
In a command-line terminal, execute the gcloud statement.<br>
54
+
In a command-line terminal, execute the statement "gcloud init".<br>
55
55
4) If you intend to use GitHub, click "Download and Install Git".<br>
56
56
<br>
57
57
If you had already installed the Google Cloud SDK, follow the instructions on the page for updating it. </p>
58
58
<pclass="Normal"><strong>* Using gcloud with Google App Engine</strong><br>
59
59
At
60
60
<ahref="https://cloud.google.com/appengine/docs/python/" target="_blank"><strong>cloud.google.com/appengine/docs/python</strong></a> choose the Standard environment Python 2 Docs. Presumably you have already installed the Cloud SDK; follow the rest of the instructions, except that you need not install Git if you don't intend to use GitHub. You do need to execute "gcloud components install app-engine-python" to add Google App Engine support to the Cloud SDK.<br>
61
61
<br>
62
-
To run GlowScript, execute dev_appserver.py /..../glowscript/app.yaml, where the location of the GlowScript code is at /..../glowscript (on Windows, use backslashes instead of slashes). This starts up the Google App Engine machinery. Open a browser tab and enter "localhost:8080" to run.</p>
62
+
To run GlowScript, execute dev_appserver.py /..../glowscript/app.yaml, where the location of the GlowScript code is at /..../glowscript (on Windows, use backslashes instead of slashes). This starts up the Google App Engine machinery. Open a browser tab and enter "localhost:8080" to run.<br>
63
+
<br>
64
+
More precisely, 8080 is the default port number. At the start of ide/api.py, if the variable "localport" is XXXX instead of 8080, to start up the application you must execute dev_appserver.py --port=XXXX /..../glowscript/app.yaml and the browser must point to "localhost:XXXX".</p>
63
65
<pclass="Normal"><strong>* Testing your changes</strong><br/>
64
-
Suppose the current version of GlowScript is 2.7. Change the version number in a program to 2.8dev; that is, 0.1 greater than the current 2.7, plus dev. When you run the program, it will use your latest JavaScript changes. If you make further changes to the JavaScript code, just reload the program edit page to get the latest changes. <br/>
66
+
Suppose the current version of GlowScript is 2.7. Change the version number in a program to 2.8dev; that is, 0.1 greater than the current 2.7, plus dev. When you run the program, it will use your latest JavaScript changes. If you make further changes to the JavaScript code, just re-execute a test program to get the latest changes. You don't have to restart the application.<br/>
65
67
<br/>
66
68
If you want to remake/update the existing version 2.7, or create a new version 2.8, see MakingNewVersion.txt in the docs folder of the GlowScript GitHub repository. Note that use of the build program requires that there be an appropriate version of node in the build-tools folder.<br/>
0 commit comments