From b96b11cc06c4aca3c1330c12a2091d9c9d7d4470 Mon Sep 17 00:00:00 2001 From: Karmaa <88517757+LukeGus@users.noreply.github.com> Date: Sun, 16 Mar 2025 14:23:12 -0500 Subject: [PATCH] Updated Manual (markdown) --- Manual.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Manual.md b/Manual.md index 553c303..29e7e25 100644 --- a/Manual.md +++ b/Manual.md @@ -11,8 +11,24 @@ to build the project, I recommend running the website via nginx via the nginx co ```sh npm run start ``` -to run without building (not recommended). To start the connection websocket, go to the "src/backend" directory and run the following cmd: +to run without building (not recommended). To start the connection websocket, go to the "src/backend" directory and run the following commands: ```sh -node server.cjs +node ssh.cjs +node database.cjs ``` -This will start the websocket on port 8081. \ No newline at end of file +This will start the websockets on port 8081 and 8082. You will also need to start a MongoDB container. Here's an example docker compose: +```yml +version: "3.8" +services: + mongodb: + image : mongo + container_name: mongodb + environment: + - PUID=1000 + - PGID=1000 + volumes: + - ./mongodb:/data/db + ports: + - 27017:27017 + restart: unless-stopped +``` \ No newline at end of file