Skip to content

1. Run the Sandbox

Leo Bergnéhr edited this page Nov 14, 2018 · 2 revisions
$ mkdir ~/fhircast
$ cd ~/fhircast
$ git clone https://github.com/fhircast/sandbox.git
Cloning into 'sandbox'...
remote: Counting objects: 404, done.
remote: Compressing objects: 100% (237/237), done.
Receiving objects:  83% (336/404), 404.00 KiB | 388.00remote: Total 404 (delta 209), reused 317 (delta 130), pack-reused 0
Receiving objects: 100% (404/404), 555.59 KiB | 378.00 KiB/s, done.
Resolving deltas: 100% (209/209), done.

The Hub

$ cd sandbox/Hub
$ dotnet run
Using launch settings from ~\fhircast\sandbox\FHIRCastSandbox\Properties\launchSettings.json...
Hosting environment: Development
Content root path: ~\fhircast\sandbox\FHIRCastSandbox
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.

The FHIRcast sandbox Hub is now running at http://localhost:5000/.

The Client

$ cd sandbox/WebSubClient
$ dotnet run
...

The FHIRcast sandbox Client is now running at http://localhost:5001/client.


You can now subscribe to the Hub using a specific topic/events and use the client to notify on a topic and event.

Now, let's work on a client to create a subscription.

Next Step: Run a client

Clone this wiki locally