cloud:gcp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cloud:gcp [2017/11/17 12:39] – skipidar | cloud:gcp [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:cloud:gcp to cloud:gcp skipidar | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Google Cloud Platform ===== | ===== Google Cloud Platform ===== | ||
| - | |||
| - | ==== Questions ==== | ||
| - | | What are projects and how do they share resource | | ||
| Line 22: | Line 19: | ||
| </ | </ | ||
| available under localhost: | available under localhost: | ||
| + | |||
| + | e.g. http:// | ||
| == Stops the server== | == Stops the server== | ||
| Line 50: | Line 49: | ||
| </ | </ | ||
| - | === Google Datastore === | + | ==== Google Datastore ==== |
| + | The documentation for the datastore can be found here: | ||
| + | https:// | ||
| + | |||
| + | |||
| + | === Spring boots with datastore === | ||
| + | The Codelabs tutorial about creation of a new Spring boot application for app engine | ||
| + | https:// | ||
| + | |||
| + | |||
| + | === Datastore dependencies === | ||
| + | The maven dependencies are listed here | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | https:// | ||
| + | |||
| + | For the time of writing - it is important to reference Guava directly. | ||
| + | Otherwise there will be MethodNotFOund exceptions, because wrong versions of Guava are referenced by transitive dependencies. | ||
| + | < | ||
| + | <!-- | ||
| + | VERY IMPORTANT | ||
| + | Otherwise there will be a " | ||
| + | |||
| + | --> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Enable APIs === | ||
| + | Enable the APIs like " | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | === Enable Web Credentials === | ||
| + | The web credentials must be enabled, so that one can reach the API from the URS like | ||
| + | * http:// | ||
| + | * http:// | ||
| + | |||
| + | How to do so is stated in the bookshelf example too: | ||
| + | https:// | ||
| + | |||
| + | |||
| + | === Datastore usage === | ||
| Create a JSON key using the online console: https:// | Create a JSON key using the online console: https:// | ||
| Line 149: | Line 201: | ||
| The logs are visible in the console window, where the server is running. | The logs are visible in the console window, where the server is running. | ||
| + | |||
| + | |||
| + | ==== Run in Intellij Idea ==== | ||
| + | To run a Google App Engine applicaiton locally - use the " | ||
| + | |||
| + | {{https:// | ||
| + | |||
| + | After that a new launch configuration will be created: | ||
| + | {{https:// | ||
| + | |||
| + | |||
| + | === Importing a Gradle project to Idea === | ||
| + | |||
| + | |||
| + | * Import from github, directly via the Idea, via "VCS > Checkout from Version COntrol" | ||
| + | * add to Project Structure > Modules > youtube4kidz > youtube4kidz_main via " | ||
| + | * first build the project completele. Building is not part of the appengine-start process: build > rebuild project. Or you will receive a ClassNotFound / MethodNotFound | ||
| + | * then start project via Run " | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==== gcloud | ||
| + | The gcloud command-line interface is the primary CLI tool to create and manage Google Cloud resources. | ||
| + | |||
| + | Installation | ||
| + | https:// | ||
| + | |||
| + | |||
| + | |||
cloud/gcp.1510922347.txt.gz · Last modified: (external edit)
