Skip to content

xwiki-labs/xwiki-tools-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

XWiki Tools Example

XWiki labs logo

This example makes a small package with one XWiki document in it. To learn about how it is built, look at make.js https://github.com/cjdelisle/xwiki-tools-example/blob/master/src/make.js

To run it, make sure node.js and xwiki-tools are installed:

npm install -g xwiki-tools

Then run ./do and observe the output.

To automatically install the resulting .xar file to a wiki, use

./do --post Admin:admin@192.168.1.1:8080/xwiki/bin/preview//

The URL contains <username>:<password>@<host>/xwiki/bin/preview//, it uses preview to inject code into the wiki which imports it's package.

To generate an Apache Maven compatible project, use ./do --mvn and a directory will be created called mvnout which will contain a maven project ready to build.

About

An example of the power of xwiki-tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published