/usr/lib/Wt/examples/widgetgallery/README.md is in witty-examples 3.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | WidgetGallery example
---------------------
This is the [widget gallery](http://www.webtoolkit.eu/widgets), which serves more as a directory of widgets available in Wt.
How to run
----------
This application illustrates a recommended deployment setup for a more involved application, separating:
- docroot: these are publicly available files for the browser to download
through the web server (e.g. css, resources, ...)
- approot: these are private application files opened by the application (e.g.
resource files, config files, etc...) and not deployed in your document root
To run the application using the built-in httpd, you thus need to:
cd widgetgallery/docroot
ln -s ../../../resources . # include standard Wt resource files in docroot
cd ..
../../build/examples/widgetgallery/widgetgallery.wt \
--docroot docroot --approot approot \
--http-address 0.0.0.0 --http-port 8080
What it illustrates
-------------------
- most widgets in Wt in some form or another, in combination with the bootstrap
theme (you can actually trigger the use of another theme using
?theme=default or ?theme=polished parameters)
- lots of small examples
- internal path handling and cross referencing
|