From 3d852f045f34d8dd6caa1b4d73cc29377ce47e96 Mon Sep 17 00:00:00 2001 From: Mervin van Brakel <63094424+mervinvb@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:35:28 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 504db9a..e3154fc 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ That's it! The backend is now running. You will probably have to do some additio 2. Make sure you have Python 3.10 or higher installed on your computer. 3. Install OpenEXR on your computer. If you're on Linux, run `sudo apt-get install libopenexr-dev` and `sudo apt-get install openexr`. If you're on Mac, use Homebrew: `brew install openexr`. To avoid compiling OpenEXR yourself on Windows, try these commands: `pip install pipwin`, `pipwin install openexr`. 4. Clone this repository and put it in a good spot. CD into the folder and run `pip install -r requirements.txt` to install all required Python packages. -5. Set your environment variables. I've provided a .env file which you can fill in with your own information. +5. Create a .env file in /src and add the following variables: OPENAI_API_KEY, WEB_SERVICE_IP, WEB_SERVICE_PORT. 6. Make sure your computer has access to the files that are rendering on the farm, otherwise the image previews will not work. You're probably good if you're running this on a computer that also renders on the farm. You might not be able to open a port to this backend if you're running your Deadline Web Service in a tightly controlled network. If that's the case but you do have access to a VPS that you can open ports to, have a look at my [WebSocket proxy scripts](https://github.com/BreakTools/websocket-proxy) to still make this backend work.