Browse Source

Demo readme improvements (#2833)

* appengine-api-1.0-sdk --> appengine-maven-plugin

* readme

* relative path instead of absolute

Co-authored-by: penmetsaa <penmetsaa@google.com>
Co-authored-by: Tijana Vislavski Gradina <tijanavg@google.com>
pull/2843/head
Tobias Rogg 3 years ago
committed by GitHub
parent
commit
98c1da2662
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 5 deletions
  1. BIN
      java/demo/.readme_res/App_Engine_Run_Config.png
  2. +31
    -2
      java/demo/README.md
  3. +3
    -3
      java/demo/pom.xml

BIN
java/demo/.readme_res/App_Engine_Run_Config.png View File

Before After
Width: 1308  |  Height: 962  |  Size: 192 KiB

+ 31
- 2
java/demo/README.md View File

@ -1,4 +1,6 @@
## Prerequisite:
# Running the demo
## 1. Install Google Cloud SDK
### Linux
@ -16,6 +18,33 @@
`$ gcloud components install app-engine-java`
## How to regenerate the WAR, deploy and run in appengine?
## 2. Add IDE Plugin
### Intellij
Install [Cloud Code Plugin for Intellij](https://plugins.jetbrains.com/plugin/8079-cloud-code)
_If you have worked with the App Engine Plugin before,
please [migrate](https://cloud.google.com/code/docs/intellij/migrate)._
### Eclipse
Install [Cloud Code Plugin for Eclipse](https://marketplace.eclipse.org/content/google-cloud-tools-eclipse)
### Visual Studio Code
Install [Cloud Code Plugin for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=GoogleCloudTools.cloudcode&ssr=false#overview)
## 3. Run
Most IDEs should autodetect your configuration after installing the plugin (and
restart)
![App Engine Run Config](.readme_res/App_Engine_Run_Config.png)
## (Optional) Run Natively
This is _not recommended_ with an IDE as you have to manage updating your
artifacts yourself, it does not support live reload
`$ mvn appengine:run`

+ 3
- 3
java/demo/pom.xml View File

@ -38,9 +38,9 @@
<version>2022-07-20</version>
</dependency>
<dependency>
<artifactId>appengine-api-1.0-sdk</artifactId>
<groupId>com.google.appengine</groupId>
<version>2.0.8</version>
<artifactId>appengine-maven-plugin</artifactId>
<groupId>com.google.cloud.tools</groupId>
<version>2.4.4</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>


Loading…
Cancel
Save