You will need Git, Google Cloud CLI, and Golang 1.18 or later. It is also recommended that you use GoLand or Visual Studio Code for development.
Once you have those tools installed you should clone the repo [here](Github URL).
To begin, open up the IDE of your choice (preferably Visual Studio Code, as GoLand requires a module import in the settings when you clone from GitHub) and use the terminal to pull the code using:
git pull
This ensures you have the latest code available.
After pulling run go mod init
. This will set up a couple different tools we've configured for this repository.
If you followed the directions to the letter, you should now direct your terminal instance to your working directory if you haven't already using:
cd path/to/your/web-service's/root
When you're in this directory you can use the command:
go build .
This builds the web-service so you can test routes. The command to run web-service after build is:
go run .
When you're ready to push to GCP, visit this page.