Demonstrates a Money Transfer Demo for Temporal using the Java and .NET SDKs
Based on Steve Androulakis' Awesome Money Transfer Demo this demo creates a .NET Worker Version that is compatible with the Java UI Web Application.
To run everything on your own laptop, follow these instructions
Start the temporal server locally:
temporal server start-dev
In a browser, navigate to http://localhost:8233
Open a new terminal window and run the following commands:
cd app-java
./startlocalwebui.sh
In a browser, navigate to http://localhost:7070/
Open a new terminal window and run the following commands:
cd app-dotnet/src
dotnet run
You are now ready to use the Demo UI to demonstrate Temporal features.
To run everything on Temporal Cloud, follow these instructions
Open a browser and navigate to Temporal Cloud. Go to your namespace and then workflows.
In the root folder of this repository, edit the cloudenvsetup.sh to reflect the information needed for your account. It should look something like this:
#!/bin/bash
export TEMPORAL_ADDRESS=<namespace>.<accountId>.tmprl.cloud:7233
export TEMPORAL_NAMESPACE=<namespace>.<accountId>
export TEMPORAL_CERT_PATH="/path/to/cert"
export TEMPORAL_KEY_PATH="/path/to/key"
After you have made changes and saved it, you can continue.
cd app-java
./startcloudwebui.sh
Note that the startcloudwebui.sh file uses the environment variables in the cloudenvsetup.sh file.
In a browser, navigate to http://localhost:7070/
Open a new terminal window and run the following commands:
cd app-dotnet/src
source ../cloudenvsetup.sh
dotnet run
You are now ready to use the Demo UI to demonstrate Temporal features.