From a288da628bfc73a15c2638e8579b9f69073bcfdd Mon Sep 17 00:00:00 2001 From: Christopher Rhodes <christopher.rhodes@embl.de> Date: Thu, 29 Feb 2024 14:10:52 +0100 Subject: [PATCH] run_server main method can now be called externally --- readme.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index fa995de5..44b83a46 100644 --- a/readme.md +++ b/readme.md @@ -6,15 +6,17 @@ model_server implement image analysis jobs for online use (e.g. in feedback micr 1. Install Git:<br>https://git-scm.com/download/win 2. Install Miniforge for environment management:<br>https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-Windows-x86_64.exe 3. Under the Start menu, open `Miniforge3 > Miniforge Prompt` -4. In the new terminal, clone the model_server repository:<br> +4. In the new terminal, run:<br> `cd %userprofile%`<br> `git clone https://almf-staff:KJmFvyPRbpzoVZDqfMzV@git.embl.de/rhodes/model_server.git` -5. Then clone the trec-adaptive-feedback repository, run:<br> - `git clone https://almf-staff:gldt-9szJvEjhupPvMjDv18EB@git.embl.de/almf/trec-adaptive-feedback.git` -6. Open the newly created model_server project root: `cd model_server` -7. Create the environment: `mamba env create --file requirements.yml --name model_server_env` -8. Activate the environment: `mamba activate model_server_env` -9. Add the project source as a Python package: `pip install -e .` +5. Open the newly created project root: `cd model_server` +6. Create the environment: `mamba env create --file requirements.yml --name model_server_env` +7. Activate the environment: `mamba activate model_server_env` +8. Add the project source as a Python package: `pip install -e .` # Start the server -Simply click "start_server command" in the trec-adapative-feedback directory. This should open a terminal that reports server requests, as well as a browser with a status confirmation page. To stop the server, type "stop" in the terminal. \ No newline at end of file +Simply click "start_server command" in the model_server directory. This should open a terminal that reports server requests, as well as a browser with a status confirmation page. To stop the server, type "stop" in the terminal. +# Examples + + + \ No newline at end of file -- GitLab