This is the repository for the Diaspoship API backend.
To build the project on unix-based systems:
./gradlew build
Windows users: Use gradlew.bat
instead of ./gradlew
To generate the required configuration file openapi.json
:
./gradlew endpointsOpenApiDocs
This results in a file in build/endpointsOpenApiDocs/openapi.json
To deploy the sample API:
-
Invoke the
gcloud
command to deploy the API configuration file:gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
-
Deploy the API implementation code by invoking:
./gradlew appengineDeploy
-
Wait for the upload to finish.