From de4ce0da5ef161f6e65810f7d16e9b20e926284e Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Sat, 27 Apr 2024 13:40:11 -0500 Subject: [PATCH] update readme for backend --- backend/README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/backend/README.md b/backend/README.md index 0ea1ad4..7c12f20 100644 --- a/backend/README.md +++ b/backend/README.md @@ -1,17 +1,19 @@ # Setup -1. +1. Prepare the environment variables - cp .env.example .env + cp .env.example .env -1. +1. Install packages so that we can run the login script (next command) - npm install + npm install -1. +1. Run the login script - npm run registration + npm run login -1. +1. Edit `.env` to include the `MATRIX_AUTH_TOKEN` output from the previous command - docker compose up -d --build \ No newline at end of file +1. Build and start the docker container + + docker compose up -d --build \ No newline at end of file