Forum Discussion

rajjay's avatar
rajjay
Adept
4 months ago

How to Setup Git repository for deployments in Khoros Classic

Hello,

We're using Khoros Classic and would like to implement a Git setup for our deployments. Could you provide documentation on how to set up Git for deployments in Khoros Classic? Additionally, it would be helpful to know which features like components and macros are supported through Git, as well as a list of unsupported items such as administrative items.

Thank you.

  • Short answer: You can't.

    Slightly longer answer: The only way to get even something "versionable" is to use the SDK and do a plugin export, there are 3: core-plugin, plugin (you'll only have that if Khoros PS did work for your community, you can't create that yourself) and studio-plugin, you'll be most interested in the studio plugin as it basically contains what you can edit in Studio. This is a folder with files that can be tracked via a git repo, but you can't (at least as far as I know) do any kind of deployment (especially not to production) with the SDK. The SDK exports stuff and then uploads/imports modified stuff onto your stage instance. Even though the entire deployment process Khoros uses (Studio Publish) is a git workflow behind the scenes, you do not have any control over that yourself other than using the Versions/Publishing sections within Studio and Admin (Prod) respectively.