From 1402b4f1eda8eb48437a5f81697de3eb4695f016 Mon Sep 17 00:00:00 2001 From: Markus Thielker Date: Wed, 30 Jul 2025 13:03:51 +0200 Subject: [PATCH] HL7-1: add example .env files to client and server --- README.md | 5 +++-- packages/client/.env.example | 2 ++ packages/server/.env.example | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 packages/client/.env.example create mode 100644 packages/server/.env.example diff --git a/README.md b/README.md index 06185d2..eb6274f 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,9 @@ to a different client, the server sends back an acknowledgement and notifies the # Getting started 1. Download the sources of the project -2. Execute `bun install` and `bun run dev` in the root directory -3. Start customizing the code to your needs +2. Copy the .env.example files to .env files +3. Execute `bun install` and `bun run dev` in the root directory +4. Start customizing the code to your needs # Deployment diff --git a/packages/client/.env.example b/packages/client/.env.example new file mode 100644 index 0000000..88f609e --- /dev/null +++ b/packages/client/.env.example @@ -0,0 +1,2 @@ + +PUBLIC_SERVER=localhost:8080 diff --git a/packages/server/.env.example b/packages/server/.env.example new file mode 100644 index 0000000..4880b4f --- /dev/null +++ b/packages/server/.env.example @@ -0,0 +1,4 @@ + +PORT=8080 +PREFIXES=STA,LAB +POOL_SIZE=100