- Clone the Hello World project which has all the basic files explained in our Hello World Tutorial:
git clone https://github.com/temporalio/hello-world-project-template-go
- Install and run the Temporal Server using
git clone https://github.com/temporalio/docker-compose.gitcd docker-composedocker-compose up
You can now view Temporal Web at http://localhost:8088.
- Run the worker and starter included in the project.
go run worker/main.gogo run start/main.go
If you have
gow installed, you can automatically reload when you change any files:
go install github.com/mitranim/gow@latestgow run worker/main.go # automatically reload when file changed