Web&Cloud
GCP frequent pbs:
When cloud shell don't start:
When app is not well create
gcloud app create
Working in Lab with App Engine:
99% of problems in Lab is just coming from a bad configuration of proxy
Eclipse need to access the web, maven need to access the web, they maybe not configured with proxy !!
For maven, you can just:
cp ~molli-p/.m2/settings.xml ~/.m2/
Eclipse should be ok (otherwise check preference and general/network)
The doc https://cloud.google.com/appengine/docs/?hl=fr (the root)
carefull take the doc of *appengine*, many products on Gcloud
We use the standard environnement (not flexible) and Java 1.8
Entities: https://cloud.google.com/appengine/docs/standard/java/datastore/entities?hl=fr
queries: https://cloud.google.com/appengine/docs/standard/java/datastore/queries?hl=fr
Basically, we just need a Google Cloud SDK and Maven and Google Console
mvn archetype:generate -Djava8=true -DCloudSDK_Tooling=false -Dappengine-version=1.9.76 -Dapplication-id=<your-id> -Dfilter=com.google.appengine.archetypes:
An Eclipse with the Gcloud plugin will download the gcloud SDK for you
An eclipse with Gcloud plugin and proxy is installed in /media/Enseignant/eclipse
Example code
These project are created with maven. To import on eclipse, just import an existing maven project.
Dice in Servlet: https://github.com/momo54/DiceGAE
The smallest GAE app: https://github.com/momo54/webandcloud
Previous Exam
![](https://www.google.com/images/icons/product/drive-32.png)
![](https://www.google.com/images/icons/product/drive-32.png)
![](https://www.google.com/images/icons/product/drive-32.png)