From 975f56b118dc33ac3f6db71fbf5a917fcd094f3e Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Mon, 16 Jan 2023 13:39:27 -0500 Subject: [PATCH] docs: add section on starting in a non-docker context --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index a8c12b7..a6212b8 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,21 @@ SERVICE_LISTEN_ON=8080 SERVICE_LISTEN_ON="/path/to/event_relay.sock" ``` +## Starting + +To start `bento_event_relay` in "production" mode, run the following: + +```bash +NODE_ENV=production npm run start +```` + +To start it in "development" mode (with automatic restart on file changes), +run the following: + +```bash +NODE_ENV=development npx nodemon +``` + ## HTTP Endpoints The `bento_event_relay` service only has one HTTP endpoint, `/service-info`,