From 7ec4f386b150ba7fde2301bb53535bb75d19a012 Mon Sep 17 00:00:00 2001 From: Kshitij Date: Wed, 23 Jul 2025 01:34:09 +0530 Subject: [PATCH] Fixed links for server.js and docker-compose.yaml (hopefully) --- models/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/README.md b/models/README.md index 51e7601..8c1cc11 100644 --- a/models/README.md +++ b/models/README.md @@ -6,12 +6,12 @@ This directory holds code for AI model used for disease detection in crops. ## Requirements -- `${FRONTEND_URI}` is used in [server.js](./models/server.js). This should be passed when creating the Docker container as an environment variable. +- `${FRONTEND_URI}` is used in [server.js](./server.js). This should be passed when creating the Docker container as an environment variable. - `${FRONTEND_URI}` is essentially the URI where the frontend is hosted. ## Docker Run -It is recommended that you use the [docker-compose.yaml](./docker-compose.yaml) file which creates all the required containers, however if you wish to run only the "models" part of this project in Docker run the following docker command. +It is recommended that you use the [docker-compose.yaml](../docker-compose.yaml) file which creates all the required containers, however if you wish to run only the "models" part of this project in Docker run the following docker command. ```shell docker run -tid \ @@ -27,7 +27,7 @@ docker run -tid \ ## Manual Run -To run only the "models" part of this project, you will have to create a python virtual environement, followed by installing all the dependencies and then running the [server.js](./models/server.js) file using node. +To run only the "models" part of this project, you will have to create a python virtual environement, followed by installing all the dependencies and then running the [server.js](./server.js) file using node. 1. Install required packages (for Debian based systems): @@ -50,7 +50,7 @@ python3 -m venv . pip install -r requirements.txt ``` -4. Run [server.js](./models/server.js): +4. Run [server.js](./server.js): ```shell node server.js