Chaoui is a web application designed to render ALTO files and to edit them with a simple graphical interface.
It is a full client-side application. It doesn't need any server backend and can be deployed anywhere that's able to serve static files. You only need to assemble the sources contained in this repository once and then the site can be deployed wherever you want by means of a `rsync`, a `FTP` file transfer or any other protocol of your choice.
$ ls ~/.sjw | grep unitJS
Assembling the application requires a call to `sjw` and packing the CSS code with `cat`. Both operations are implemented by the `Makefile` in this repository so having the `make` tool installed is recommended though optional. The content of the `Makefile` documents the two lines you need to type (a call to `sjw` and a call to `cat`) if you can't or don't want to use `make`.
### Assembling the application
Assuming you have all the dependencies above installed on your system, just open a shell at the root of this repository and type :
This will generate two files, `main.js` and `style.css`, at the root of the repository.
Just copy `index.html`, `main.js` and `style.css` wherever you want your web server to find them. For example assuming you have a SSH access to `yourhost.net` and you want to deploy `chaoui` to the path `web/chaoui` on thas host you could type something like :