Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Bootstrap a gostep project

Lahiru Pathirage edited this page Nov 24, 2022 · 1 revision

<<< Setting up Google cloud authentication

If you have successfully created credentials for your gostep cloud functions project, nest step is to create a gostep project.

To do that use gostep base init <PROJECT_NAME> or if you are not in the workspace directory you can use inside keyword. For your cloud functions optional arguments can be defined as below.

  • inside - workspace directory
  • location - gcloud region Id(can get an available list using gostep gcloud locations)
  • version - gostep project version

To verify the generated project base simply do gostep base show.

This will create a project specifications file in your workspace directory as below.

{
    "name": "<PROJECT_NAME>",
    "project_id": "GCLOUD_PROJECT_ID",
    "description": "<description>",
    "default_location": "<GCLOUD_REGION_ID>",
    "version": "PROJECT_VERSION",
    "templates": {},
    "services": {}
}

>>> Bootstrap a cloud function

Clone this wiki locally