You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
@@ -239,7 +239,14 @@ Do a quick `go mod tidy` to make sure all new dependencies are resolved.
239
239
240
240
## Ok, let's run this thing!
241
241
242
-
Now that you have your WebSocket application defined with handlers for each event, it's time to test it locally.
242
+
Now that you have your WebSocket application defined with handlers for each event, it's time to test it locally. Update your `nitric.yaml` to point to the service at `websockets/main.go`:
243
+
244
+
```yaml
245
+
services:
246
+
- match: websockets/*
247
+
runtime: go
248
+
start: go run ./$SERVICE_PATH
249
+
```
243
250
244
251
```bash
245
252
nitric start
@@ -265,7 +272,10 @@ Continue by checking your stack file `nitric.dev.yaml` and adding in your prefer
265
272
266
273
### AWS
267
274
268
-
Note: You are responsible for staying within the limits of the free tier or any costs associated with deployment.
275
+
<Note>
276
+
You are responsible for staying within the limits of the free tier or any
277
+
costs associated with deployment.
278
+
</Note>
269
279
270
280
We called our stack `dev`. Let's try deploying it with the `up` command:
0 commit comments