User Tools

Site Tools


cloud:gcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cloud:gcp [2018/05/25 13:48] skipidarcloud:gcp [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:cloud:gcp to cloud:gcp skipidar
Line 50: Line 50:
  
 ==== Google Datastore ==== ==== Google Datastore ====
 +The documentation for the datastore can be found here:
 +https://cloud.google.com/datastore/docs/how-to
 +
  
 === Spring boots with datastore === === Spring boots with datastore ===
Line 66: Line 69:
 </code> </code>
 https://cloud.google.com/datastore/docs/reference/libraries https://cloud.google.com/datastore/docs/reference/libraries
 +
 +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.
 +<code>
 +        <!--
 +            VERY IMPORTANT  the right version of Guava must be referenced here.
 +            Otherwise there will be a "NoSuchMethodException", because of transitive dependencies to older Guava libs.
 +
 +        -->
 +        <dependency>                        <!-- Google Core Libraries for Java -->
 +            <groupId>com.google.guava</groupId>
 +            <artifactId>guava</artifactId>  <!-- https://github.com/google/guava/wiki -->
 +            <version>23.0</version>
 +        </dependency>
 +</code>
  
  
Line 183: 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 "Google Cloud Tools" plugin.
 +
 +{{https://lh3.googleusercontent.com/-e52Kv6jTYic/WxkCVjuO2iI/AAAAAAAAAKs/H6qhDysp7LA_6nr4B4NEQ1nEXuy_1YbBACHMYCw/s0/2018-06-07_12-00-58.png}}
 +
 +After that a new launch configuration will be created:
 +{{https://lh3.googleusercontent.com/-ybUh61AVhvU/WxkCmUriifI/AAAAAAAAAK0/Kv-DZ1GFH_cSzMI4Ng0FAvIOvGZKpUutwCHMYCw/s0/2018-06-07_12-02-06.png}}
 +
 +
 +=== Importing a Gradle project to Idea ===
 +
 +
 +   * Import from github, directly via the Idea, via "VCS > Checkout from Version COntrol" as stated here https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/2027
 +   * add to Project Structure > Modules > youtube4kidz > youtube4kidz_main via "add" the item "Google App Engin Standard" if necessary
 +   * 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 "Google AppEngine Dev"
 +
 +
 +
 +
 +==== gcloud  ====
 +The gcloud command-line interface is the primary CLI tool to create and manage Google Cloud resources.
 +
 +Installation
 +https://cloud.google.com/sdk/docs/quickstart#deb
 +
 +
 +
  
  
cloud/gcp.1527256088.txt.gz · Last modified: (external edit)