Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Running the examples

The examples that come with the library will by default be linked against the built-in httpd. In any case, we recommend this way of exploring the examples and trying them out, even if you'll end up deploying using FastCGI or ISAPI.

You typically need the following commands to run an example (foobar):

cd foobar # source directory for example foobar
../../build/examples/foobar/foobar.wt --docroot . --http-address 0.0.0.0 --http-port 8080 --resources-dir=../../resources

By running the examples from within their source directory, in this way the examples will find the auxiliary files in the expected places.

Some examples may need additional command line arguments, which are detailed in the README.md for each example.

Some examples need third-party JavaScript libraries (ExtJS or TinyMCE).

You will notice 404 File not Found errors for ext/ or resources/tiny_mce/ if you are missing these JavaScript libraries.