mirror of
https://github.com/alexandrev/xslt-lab.git
synced 2026-09-16 18:23:16 +00:00
version 0.2.0
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
Your Lab for XSLT Transformation.
|
||||
|
||||
## News & Releases
|
||||
|
||||
- Follow updates on the GitHub Pages blog: [alexandrev.github.io/xslt-lab](https://alexandrev.github.io/xslt-lab/).
|
||||
- Review detailed changes in [CHANGELOG.md](https://github.com/alexandrev/xslt-lab/blob/main/CHANGELOG.md).
|
||||
|
||||
## Frontend
|
||||
|
||||
The React/Vite frontend lives in `frontend/`. Use `npm install` inside that folder and run:
|
||||
@@ -25,11 +30,15 @@ containerized version the URL is now read at **runtime** from environment
|
||||
variables so you can configure it directly in the pod.
|
||||
|
||||
When `VITE_GO_PRO=true` the UI exposes additional features like Google
|
||||
authentication and multiple transformation tabs. For authentication you must
|
||||
authentication. For authentication you must
|
||||
provide Firebase configuration via `VITE_FIREBASE_CONFIG` containing the JSON
|
||||
object used by `initializeApp`.
|
||||
Set `VITE_GA_ID` to enable Google Analytics tracking.
|
||||
|
||||
The playground keeps up to three independent workspaces (tabs). Each workspace
|
||||
persists its own inputs, trace output, errors and results, and you can export or
|
||||
import them as JSON files to share setups easily.
|
||||
|
||||
### Docker
|
||||
|
||||
To build a container with the compiled frontend run:
|
||||
@@ -70,7 +79,7 @@ its dependencies from `/opt/saxon/*`.
|
||||
The backend image also builds a small jar with custom Saxon extension
|
||||
functions. It gets copied to `/opt/saxon/custom-functions.jar` during the
|
||||
Docker build. You can call these from XSLT using the namespace
|
||||
`xmlns:tib="java:com.xsltplayground.ext.CustomFunctions"`. The jar exposes
|
||||
`xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions"`. The jar exposes
|
||||
many helper functions such as `tib:uuid()`, `tib:timestamp()` and
|
||||
`tib:addToDate()`.
|
||||
|
||||
@@ -148,4 +157,3 @@ helm install xslt charts/xslt-playground
|
||||
# helm install xslt charts/xslt-playground --set firebase.enabled=false
|
||||
# helm install xslt charts/xslt-playground --set storage.enabled=false
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user