|
|
|
@ -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) |
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
## (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` |