File tree 2 files changed +393
-3
lines changed
src/test/java/com/example/appengine
2 files changed +393
-3
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,41 @@ from [Google App Engine standard environment][ae-docs].
6
6
[ java-datastore ] : https://cloud.google.com/appengine/docs/java/datastore/
7
7
[ ae-docs ] : https://cloud.google.com/appengine/docs/java/
8
8
9
+
10
+ ## Running locally
11
+
12
+ This example uses the
13
+ [ Maven gcloud plugin] ( https://cloud.google.com/appengine/docs/java/managed-vms/maven ) .
14
+ To run this sample locally:
15
+
16
+ $ mvn appengine:devserver
17
+
18
+ To see the results of the sample application, open
19
+ [ localhost:8080] ( http://localhost:8080 ) in a web browser.
20
+
21
+
22
+ ## Deploying
23
+
24
+ In the following command, replace YOUR-PROJECT-ID with your
25
+ [ Google Cloud Project ID] ( https://developers.google.com/console/help/new/#projectnumber )
26
+ and SOME-VERSION with a valid version number.
27
+
28
+ $ mvn appengine:update -Dappengine.appId=YOUR-PROJECT-ID -Dappengine.version=SOME-VERSION
29
+
30
+
9
31
## Setup
32
+
33
+ To save your project settings so that you don't need to enter the
34
+ parameters, you can:
35
+
10
36
1 . Update the ` <application> ` tag in ` src/main/webapp/WEB-INF/appengine-web.xml `
11
37
with your project name.
12
38
1 . Update the ` <version> ` tag in ` src/main/webapp/WEB-INF/appengine-web.xml `
13
39
with your version name.
14
40
15
- ## Running locally
16
- $ mvn appengine:devserver
41
+ You will now be able to run
17
42
18
- ## Deploying
19
43
$ mvn appengine:update
44
+
45
+ without the need for any additional parameters.
46
+
You can’t perform that action at this time.
0 commit comments