Content of addon repo must be prepared for proper deployment to the server. Currently it is a manual process consisting of steps: (requirements: at least Python3.9, yarn installed)
- clone repo to local machine
- run
python create_package.py
- this will producepackage
folder in root of cloned repo - install
.zip
file frompackage
folder via Ayon Server UI (Studio Settings > Bundles > Install Addons
)
Addon allowing synchronization of published elements between remote and local locations. Implements couple of different protocols (local drive, GDrive API, Dropbox API etc.)
Server side should allow reporting of status of presence of published elements on various sites (eg. studio, specific artist site, GDrive). It should also allow marking each published file(s) to be synched to specific location eventually.
Client side runs webserver on artist (or studio) machine which does real synching.
To debug server side, eg endpoints returning values from DB is best to update directly files in ayon-docer/addons/sitesync/X.Y.Z
.
The server must be restarted (via UI) to changes to be taken in.
Front end could be debugged by:
cd frontend
yarn dev
This will create standalone front end containing only page meant for SiteSync. (Installed yarn
is required.)
(Click on a link in Local:
line that should show up after yarn dev
command)