Skip to content
Snippets Groups Projects
using-xsweet.md 1.24 KiB
Newer Older
Agathe's avatar
Agathe committed
---
title: "Using XSweet"
draft: false
weight: 300
part: 1
Intro : "There are a variety of ways to run XSweet, HTMLevator, and Editoria Typescript"
class: using
---
## XSweet with *nix and beyond
Adam Hyde's avatar
Adam Hyde committed
One of the powerful features of XSweet is that it can be run in a wide variety of environments. For example, XSWeet can be integrated into an application (see Editoria and Kotahi from Coko for examples)[https://coko.foundation]. XSweet can also be run using a Unix-like terminal and a few scripts; indeed, this was how much of the testing was done.
Agathe's avatar
Agathe committed

You can find some [example Bash and Ruby scripts here](https://gitlab.coko.foundation/XSweet/XSweet_runner_scripts/ "gitlab.coko.foundation/XSweet/XSweet_runner_scripts") (not maintained or warrantied). These are used for XSweet's' testing and development to quickly convert many files and inspect each step's inputs and outputs.

Agathe's avatar
Agathe committed
{{< figure src="../images/xsweet_bash-768x291.png" >}}
Agathe's avatar
Agathe committed

Adam Hyde's avatar
Adam Hyde committed
Be aware that the above scripts aren't recommended for production; they're simply offered as an illustration of what is possible. XSweet can also be run as a very speedy PHP service, in an XML IDE, using XPL pipelines, and more. For Editoria and Kotahi (mentioned above) the team ran XSweet as a separate containerized microservice.