kylec32 / dokuwiki_plantumlparser

A plugin to have a user's browser display a SVG PlantUML diagram generated at http://plantuml.com/
MIT License
8 stars 12 forks source link

Cant find documentation on how to configure #44

Open grafra opened 2 years ago

grafra commented 2 years ago

Hi after some searching in the Internet I found out that there is the possibility to configure a local planuml server. The issues on github show that there had been a merge request who added this feature.

How ever my problem is that I could find no documentation at all how to do this configuration. Is there documentation

eduardomozart commented 2 years ago

Hello, The PlantUML URL can be changed at DokuWiki Settings page. By default, it uses the PlantUML online rendering service URL (https://www.plantuml.com/plantuml/). You need to host a local PlantUML Web instance and change the default PlantUML URL for your local instance at the DokuWiki Settings page. You can use Docker to host your own PlantUML online server instance (a command sample is here https://github.com/kylec32/dokuwiki_plantumlparser/issues/31, but you will get better luck asking or searching at PlantUML documentation on how to host your own PlantUML online server). Actually, this plugin do not allow to render using the plantuml.jar file, as it would require executing Java binary locally at the Web server, but most web providers do not allow this, only VPS. If you want to implement it's ability to this plugin, there's a sample on how to run Java binaries locally at the DokuWiki Ditaa plugin: https://github.com/splitbrain/dokuwiki-plugin-ditaa/blob/master/syntax.php

grafra commented 2 years ago

Thanks that helped.