You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optionally, you may want to edit the `fitlayout.sh` file for changing the location of the following folders:
22
+
23
+
-`STORAGE_PATH` - the folder where the local RDF repository lives. If an empty folder is provided, a new repository will be initialized. It is set to `/opt/fitlayout/storage` by default.
24
+
-`OUTPUT_FOLDER` - the folder used for storing the output produced by the `EXPORT` command. Within the container, this folder is referenced as `/out` (i.e. use for example `EXPORT -f xml -o /out/file.xml` for exporting a XML file (see a complete example below).
25
+
26
+
## Usage
27
+
28
+
Run fitlayout CLI using
22
29
23
30
```bash
24
31
./fitlayout.sh [<commands>]
25
32
```
26
33
27
-
For the first time, the related docker images will be downloaded which may take some time.
34
+
For example:
35
+
36
+
```bash
37
+
./fitlayout.sh \
38
+
RENDER -b puppeteer http://cssbox.sf.net \
39
+
SEGMENT -m vips -O pDoC=9 \
40
+
EXPORT -f xml -o /out/file.xml
41
+
```
42
+
43
+
On first run, the related docker images will be pulled which may take some time.
28
44
29
-
See the [command-line interface documentation](https://github.com/FitLayout/FitLayout/wiki/Command-line-Interface) for the commands reference and examples.
45
+
See the [command-line interface documentation](https://github.com/FitLayout/FitLayout/wiki/Command-line-Interface) for a complete command reference and examples.
- The required runtime environment including Java and node.js
11
+
12
+
See the [fitlayout-cli](https://github.com/FitLayout/docker-images/tree/main/fitlayout-cli) image for getting a runnable image with a command-line interface.
0 commit comments