Webpublisher - fixed documentation, host and ip are provided by command line

This commit is contained in:
Petr Kalis 2021-08-31 10:31:36 +02:00
parent 5ae6417f08
commit da0ea31ec9

View file

@ -40,14 +40,13 @@ Deploy OP build distribution (Openpype Igniter) on an OS of your choice.
```sh
#!/usr/bin/env bash
export OPENPYPE_DEBUG=3
export WEBSERVER_HOST_IP=localhost
export FTRACK_BOT_API_USER=YOUR_API_USER
export FTRACK_BOT_API_KEY=YOUR_API_KEY
export PYTHONDONTWRITEBYTECODE=1
export OPENPYPE_MONGO=YOUR_MONGODB_CONNECTION
pushd /opt/openpype
./openpype_console webpublisherwebserver --upload_dir YOUR_SHARED_FOLDER_ON_HOST --executable /opt/openpype/openpype_console > /tmp/openpype.log 2>&1
./openpype_console webpublisherwebserver --upload_dir YOUR_SHARED_FOLDER_ON_HOST --executable /opt/openpype/openpype_console --host YOUR_HOST_IP --port YOUR_HOST_PORT > /tmp/openpype.log 2>&1
```
1. create service file `sudo vi /etc/systemd/system/openpye-webserver.service`