Changes for readme.md: 38 added lines, 9 removed lines.
Original line number
Diff line number
Diff line
@@ -24,21 +24,24 @@ Vous pouvez nous contacter via [contact.certic@unicaen.fr](mailto:contact.certic
- xmllint
- BaseX 9 (incompatible 912+)
*Note : La procédure décrite ci-dessous se place dans le cadre d'une instance BaseX embarqué dans un serveur d'application Tomcat. MaX fonctionne également dans la version standalone de BaseX*
- BaseX (version antérieure à 912)
## Installation
```bash
$ yarn install
# change dir to your basex app folder (Tomcat embedded here)
$ cd/var/lib/tomcat8/webapps/basex
# change dir to your basex app folder
$ cd</path/to/basex>/webapp
# create a symlink on your MaX instance
$ sudo ln-s /path/to/max .
# check the install at: http://localhost:8080/basex/max
# run basex http
$ cd </path/to/basex>/bin
$ ./basexhttp
# then check yout install at: http://localhost:8984/max
```
### Édition de démonstration
```bash
@@ -48,16 +51,44 @@ $ cd tools
# if basex was install with your system package manager
# The basex dir must contains the bin subfolder
$ export$BASE_PATH=/path/to/basex
```
Modifier si nécessaire le numéro de port (*1984* par défaut) de votre serveur BaseX dans le script *max.sh* puis éxécuter la commande :
```bash
$ ./max.sh --install-demo
```
L'édition de démonstration est consultable à **http://localhost:8080/basex/editions/demo_lorem/accueil**
L'édition de démonstration est consultable à **http://localhost:8080/editions/demo_lorem/accueil**
## Paramétrages - todo
### Ajouter une édition
todo: explication script max.sh --new-edition
### Fichiers de configuration
#### Configuration globale
Le fichier *configuration/configuration.xml* se contente d'inclure les fichiers de configuration des différentes éditions hébergées par l'instance de MaX.
Chaque édition *myedition* existe de par la présence d'un dossier *editions/myedition*.
*Exemple d'inclusion de configuration de l'édition demo dans configuration/configuration.xml :*
```xquery
<!--inclusion de la configuration de l'édition demo au sein de la configuration de MaX-->