Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mervinvb committed Apr 11, 2024
2 parents be0762d + 3d852f0 commit 34809e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 34809e2

Please sign in to comment.