Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 794 Bytes

README.md

File metadata and controls

33 lines (17 loc) · 794 Bytes

This is the repository for the Diaspoship API backend.

Build the project with gradle

Building the sample project

To build the project on unix-based systems:

./gradlew build

Windows users: Use gradlew.bat instead of ./gradlew

Generating the openapi.json file

To generate the required configuration file openapi.json:

./gradlew endpointsOpenApiDocs

This results in a file in build/endpointsOpenApiDocs/openapi.json

Deploying the sample API to App Engine

To deploy the sample API:

  1. Invoke the gcloud command to deploy the API configuration file:

      gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
    
  2. Deploy the API implementation code by invoking:

      ./gradlew appengineDeploy
    
  3. Wait for the upload to finish.