To setup a temporal workflow, you will need to follow the steps below:
Install Temporal CLI, download the version for your architecture. Once you’ve downloaded the file, extract the downloaded archive and add the temporal binary to your PATH by copying it to a directory like /usr/local/bin.
go install github.com/temporalio/temporal@latest
Create a temporal server
temporal server start-dev
This command starts a local Temporal Service. It starts the Web UI, creates the default Namespace, and uses an in-memory database.
The Temporal Service will be available on localhost:7233. The Temporal Web UI will be available at http://localhost:8233.