Hi, team, Is there more documentation on how to ge...
# contribute
b
Hi, team, Is there more documentation on how to get started with Pulumi development? I have the following questions: 1. I encountered difficulties setting up the Pulumi development environment on my Mac. I tried using gitpod mentioned in the documentation (https://gitpod.io/#https://github.com/pulumi/pulumi), but even when using the online environment, I still get the following error :
Copy code
make[1]: Leaving directory '/workspace/pulumi/sdk/go'
INSTALL:
Checking for go . ✓
cd pkg && GOBIN=$HOME/.pulumi-dev/bin go install -ldflags "-X <http://github.com/pulumi/pulumi/pkg/v3/version.Version=3.91.2-dev.0|github.com/pulumi/pulumi/pkg/v3/version.Version=3.91.2-dev.0>" <http://github.com/pulumi/pulumi/pkg/v3/cmd/pulumi|github.com/pulumi/pulumi/pkg/v3/cmd/pulumi>
# <http://github.com/pulumi/esc/schema|github.com/pulumi/esc/schema>
../../go/pkg/mod/github.com/pulumi/esc@v0.5.7-0.20231030195049-f71961c0d5fa/schema/schema.go:306:25: undefined: strings.CutPrefix
note: module requires Go 1.20
make: *** [Makefile:69: install] Error 2
2. How do I get started with my development and verification? How do I run my development code?
e
None of our day-to-day engineers use the gitpod so it gets out of date a lot 😞 In generally the easiest way is to use macos or linux and install everything needed via homebrew. I think the dotnet instructions need an update at https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md#installing-pulumi-dependencies-on-macos but the rest of those homebrew packages should install fine. Then if you want to run your build of pulumi just run
make build
to build a copy of
pulumi
to ~/go/bin