Install Waiter and Demo Publication
To install the Waiter and a demo publication on Ubuntu 18.04:
-
Install the following prerequisites:
sudo apt-get update sudo apt-get install -y unzip composer php php-mbstring xsltproc xmlstarlet
-
Download and unpack the CUE Front start pack as follows:
cd curl -O https://user:password@maven.escenic.com/com/escenic/cook/cue-front-start-pack/1.6.1-2/cue-front-start-pack-1.6.1-2.tar.gz tar -xzvf cue-front-start-pack-1.6.1-2.tar.gz rm cue-front-start-pack-1.6.1-2.tar.gz ln -s cue-front-start-pack-1.6.1-2 cue-front cd cue-front
-
Build the downloaded project:
make
-
Copy the default Waiter configuration file supplied in the
cue-front/config
folder:cd config cp waiter-config.yaml.default waiter-config.yaml
-
Configure the Waiter as described in Configuring Waiter.
-
Start the Waiter and the Patternlab style guide by entering:
make start -C waiter make start -C styleguide
You should now be able to find the front page of your publication by
starting a browser and visiting
http://
host-name:8100
(where host-name is one of the publication
host names you specified in step 5). The publication will be rendered
using the Twig templates you configured with the
publications/templateDir
parameter.
To view the style guide, open a browser and go to
http://localhost:8103/
. For further information, see
Working With Twig and Patternlab.