OL Learn

Scripted Deployments

We have a standard development set-up and need to automate our deployments. Is there a step by step process we could use to import new templates/datamapping and then restart the services without opening any UI?

Stopping and launching the Services is easy enough with net start/stop. So you could write a batch file or a Powershell script to take care of that. Just make sure you start the OLConnect_Server service first, then wait something like 15 or 20 seconds to let all the engines rev up before launching the PReS Workflow service.

As for the Templates and DM Configs, you can again use a batch/script to copy them directly into the C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\Documents\In folder. If the Workflow service is already running, it will pick them up and install them immediately, and if it is stopped, it will pick them up as soon as it starts again.