Sign inSign up

fitlayout/fitlayout-cli

By fitlayout

•Updated 8 months ago

FitLayout Command-line interface (CLI) image.

Image
0

1.1K

fitlayout/fitlayout-cli repository overview

⁠FitLayout/2 - CLI Docker Image

(c) 2015-2021 Radek Burget ([email protected]⁠)

This image provides a docker image with the command-line interface⁠.

⁠Requirements

Docker must be installed on your system to use the docker images.

⁠Configuration

Download the fitlayout.sh⁠ script from GitHub:

wget https://raw.githubusercontent.com/FitLayout/docker-images/main/fitlayout-cli/fitlayout.sh
chmod 755 fitlayout.sh

Optionally, you may want to edit the fitlayout.sh file for changing the location of the following folders:

  • 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.
  • 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).

⁠Usage

Run fitlayout CLI using

./fitlayout.sh [<commands>]

For example:

./fitlayout.sh \
    RENDER -b puppeteer http://cssbox.sf.net \
    SEGMENT -m vips -O pDoC=9 \
    EXPORT -f xml -o /out/file.xml

On first run, the related docker images will be pulled which may take some time.

See the command-line interface documentation⁠ for a complete command reference and examples.

Tag summary

Content type

Image

Digest

sha256:c59f8a95f…

Size

1.1 GB

Last updated

8 months ago

docker pull fitlayout/fitlayout-cli