33 lines
709 B
Markdown
33 lines
709 B
Markdown
# Fresh Server Actor Demo
|
|
|
|
This is a fresh package-author sample. It does not use Host Service, HiveDock,
|
|
Device Link, Matrix Web, or any Matrix/HiveCast HTTP server.
|
|
|
|
It uses:
|
|
|
|
- `@open-matrix/sdk` for actor/runtime/transport
|
|
- a HiveCast API key for `/api/install/actor-credential`
|
|
- NATS for the actual actor bus
|
|
|
|
## Run
|
|
|
|
```bash
|
|
export MATRIX_CLOUD=https://<your-hivecast-cloud>
|
|
export MATRIX_SPACE=<your-space-root>
|
|
export MATRIX_API_KEY=<your-hivecast-api-key>
|
|
|
|
pnpm install --frozen-lockfile
|
|
pnpm run doctor
|
|
pnpm --filter matrix-sdk-demo-fresh-server-actor build
|
|
pnpm --filter matrix-sdk-demo-fresh-server-actor check
|
|
```
|
|
|
|
Expected result:
|
|
|
|
```json
|
|
{
|
|
"ok": true,
|
|
"demo": "fresh-server-actor"
|
|
}
|
|
```
|