-
Notifications
You must be signed in to change notification settings - Fork 26
gcloud quickstart wayat backend
The scope of this section is to initialize a project with the code of Wayat Backend in Python configured to be used with other Gcloud and Firebase services.
This script will automatically add the code (from a template) of the Wayat Backend, replace the necessary variables, commit the new files to your repo and upload the secret files to the Secret Manager.
-
Have a Google Cloud project already setup and Google Cloud CLI installed and configured. If it is not the case, please go back to corresponding guide.
-
Have an empty repository with GitFlow branch strategy
-
Have all necessary Firebase and Gcloud services active
The script located at /scripts/quickstart/gcloud/quickstart-wayat-backend.sh
allows you to:
-
Add all the backend code (from a template) of Wayat
-
Replace the necessary variables
-
Commit the new files to your repository
-
Upload the secret files to the Secret Manager.
quickstart-wayat-backend.sh \
-w <workspace for the project> \
-d <directory of the backend repository> \
-p <project ID> \
--storage-bucket <bucket to store images>
-w, --workspace [Required] Workspace of the project containing Firebase keys.
-d, --directory [Required] Directory for the repository of the backend.
-p, --project [Required] Project shortname (ID)
--storage-bucket [Required] Storage bucket to be used for storing images of the app.
This documentation is licensed under the Creative Commons License (Attribution-NoDerivatives 4.0 International).