ayon-core/server_addon
2024-05-03 17:40:42 +02:00
..
aftereffects aftereffects uses package.py 2024-04-22 14:27:42 +02:00
applications Merge branch 'develop' into enhancement/add-3dequalizer-support 2024-05-03 17:40:42 +02:00
blender blender uses package.py 2024-04-22 14:27:32 +02:00
celaction celaction uses package.py 2024-04-22 14:27:22 +02:00
clockify clockify uses package.py 2024-04-22 14:27:13 +02:00
deadline Bump up version of deadline 2024-05-02 11:52:21 +02:00
flame flame uses package.py 2024-04-22 14:26:52 +02:00
fusion fusion uses package.py 2024-04-22 14:26:46 +02:00
harmony harmony uses package.py 2024-04-22 14:26:38 +02:00
hiero Merge branch 'develop' into enhancement/AY-978_hiero-colorspace-settings-aligned-with-nuke 2024-04-29 19:19:42 +01:00
houdini add WorkfileImageIO settings 2024-04-25 11:00:36 +02:00
max 3dsmax uses package.py 2024-04-22 14:26:10 +02:00
maya 🎨 add default value 2024-05-03 12:57:21 +02:00
nuke Merge branch 'develop' into enhancement/AY-978_hiero-colorspace-settings-aligned-with-nuke 2024-04-29 19:19:42 +01:00
photoshop photoshop uses package.py 2024-04-22 14:25:42 +02:00
resolve resolve uses package.py 2024-04-22 14:25:33 +02:00
royalrender renamed royal_render folder to royalrender 2024-04-22 14:28:11 +02:00
substancepainter change substance painter version 2024-04-25 10:09:18 +02:00
timers_manager timers manager uses package.py 2024-04-22 14:25:02 +02:00
traypublisher Merge branch 'develop' into feature/OP-6539_Traypublisher-advance-editorial-publishing-from-CSV 2024-04-26 11:36:10 +02:00
tvpaint tvpaint uses package.py 2024-04-22 14:24:34 +02:00
unreal unreal uses package.py 2024-04-22 14:24:23 +02:00
create_ayon_addons.py fix import in create ayon addons 2024-04-26 11:38:57 +02:00
README.md AYON: Addon settings in OpenPype (#5347) 2023-07-26 14:08:42 +02:00

Addons for AYON server

Preparation of AYON addons based on OpenPype codebase. The output is a bunch of zip files in ./packages directory that can be uploaded to AYON server. One of the packages is openpype which is OpenPype code converted to AYON addon. The addon is must have requirement to be able to use ayon-launcher. The versioning of openpype addon is following versioning of OpenPype. The other addons contain only settings models.

Intro

OpenPype is transitioning to AYON, a dedicated server with its own database, moving away from MongoDB. During this transition period, OpenPype will remain compatible with both MongoDB and AYON. However, we will gradually update the codebase to align with AYON's data structure and separate individual components into addons.

Currently, OpenPype has an AYON mode, which means it utilizes the AYON server instead of MongoDB through conversion utilities. Initially, we added the AYON executable alongside the OpenPype executables to enable AYON mode. While this approach worked, updating to new code versions would require a complete reinstallation. To address this, we have decided to create a new repository specifically for the base desktop application logic, which we currently refer to as the AYON Launcher. This Launcher will replace the executables generated by the OpenPype build and convert the OpenPype code into a server addon, resulting in smaller updates.

Since the implementation of the AYON Launcher is not yet fully completed, we will maintain both methods of starting AYON mode for now. Once the AYON Launcher is finished, we will remove the AYON executables from the OpenPype codebase entirely.

During this transitional period, the AYON Launcher addon will be a requirement as the entry point for using the AYON Launcher.

How to start

There is a create_ayon_addons.py python file which contains logic how to create server addon from OpenPype codebase. Just run the code.

./.poetry/bin/poetry run python ./server_addon/create_ayon_addons.py

It will create directory ./packages/<addon name>.zip files for AYON server. You can then copy upload the zip files to AYON server. Restart server to update addons information, add the addon version to server bundle and set the bundle for production or staging usage.

Once addon is on server and is enabled, you can just run AYON launcher. Content will be downloaded and used automatically.

Additional arguments

Additional arguments are useful for development purposes.

To skip zip creation to keep only server ready folder structure, pass --skip-zip argument.

./.poetry/bin/poetry run python ./server_addon/create_ayon_addons.py --skip-zip

To create both zips and keep folder structure, pass --keep-sources argument.

./.poetry/bin/poetry run python ./server_addon/create_ayon_addons.py --keep-sources