![]() Version: 9.4.0.RC0 |
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services for sponsored feature development
You will first need to create a project and enable the Google Cloud api: https://cloud.google.com/docs/authentication#preparation. Take note of the project id that you create in this step as you need to supply it in later steps.
Before running Jetty, you will need to choose one of the following methods to set up the local environment to enable remote GCloud DataStore communications.
Using the GCloud SDK:
GCloud config set project PROJECT_IDGCloud auth login ACCOUNTUsing environment variables
GCLOUD_PROJECT with the project id you created in the preparation step.GOOGLE_APPLICATION_CREDENTIALS=/path/to/my/key.jsonRegardless of whether you’re running inside or outside google infrastructure you will need to upload a file that defines some indexes that are needed by the GCloud datastore session data store.
This file is named index.yaml and you can find it in your distribution in $jetty.home/etc/sessions/gcloud/index.yaml.
Follow the instructions here to upload the pre-generated index.yaml file.
To enable communication using the GCloud Emulator: