Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on macOS
A Temporal workflow for a sample e-commerce order fulfillment use case. This demo showcases Temporal's powerful durability and interactive capabilities.
GitHub didn't answer, so this is the saved copy from 24 h ago
Will it work on macOS?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/temporal-sa/temporal-order-fulfill-demo.git cd temporal-order-fulfill-demo
Node.js 18
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install nvm use
npm ci
npm run start
The sample is configured by default to connect to a local Temporal Server running on localhost:7233
temporal server start-dev
To instead connect to Temporal Cloud, set the following environment variables, replacing them with your own Temporal Cloud credentials.
With mTLS:
TEMPORAL_ADDRESS=testnamespace.sdvdw.tmprl.cloud:7233
TEMPORAL_NAMESPACE=testnamespace.sdvdw
TEMPORAL_CLIENT_CERT_PATH="/path/to/file.pem"
TEMPORAL_CLIENT_KEY_PATH="/path/to/file.key"
With API key:
TEMPORAL_ADDRESS=us-west-2.aws.api.temporal.io:7233
TEMPORAL_NAMESPACE=testnamespace.sdvdw
TEMPORAL_API_KEY="your-api-key"
# ensure TEMPORAL_CLIENT_CERT_PATH and TEMPORAL_CLIENT_KEY_PATH are not set
npm install to install dependencies.
Run npm run start to start the Worker. (You can also get Nodemon to watch for changes and restart the worker automatically by running npm run start.watch.)
Run npm run workflow to run the Workflow.
No reports for macOS yet.
GitManual AI Agent reads the 3 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.