Commit 799b1ba7 authored by Arnaud Daret's avatar Arnaud Daret
Browse files

Mise à jour du script, testé sous Debian 11 uniquement

parent 66e8088b
Loading
Loading
Loading
Loading
+26 −17
Original line number Diff line number Diff line
@@ -26,38 +26,47 @@ Vous pouvez nous contacter via [contact.certic@unicaen.fr](mailto:contact.certic

## Installation

MaX propose un script pour initialiser votre environnement de développement, 
télécharger et installer les dépendances requises.

```bash
$ cd tools && ./max.sh -i # will init your max dev env, download and install saxon + fop jar dependencies
# change dir to your basex app folder
$ cd </path/to/max>/tools

# Use global BaseX settings
$ ./max.sh -i

# set the env var $BASEX_PATH only if the basexclient command is not in your PATH. 
# Useless if basex was install with your system package manager
# The basex dir must contains the bin subfolder
$ export BASEX_PATH=</path/to/basex> 
$ ./max.sh -i

# you can also use local BaseX installation without setting any env var
$ ./max.sh -i -b </path/to/basex>

# move to your basex webapp folder 
$ cd </path/to/basex>/webapp
# create a symlink on your MaX instance
$ sudo ln -s /path/to/max .
$ ln -s </path/to/max> .
# run basex http
$ cd </path/to/basex>/bin
$ ./basexhttp
# then check your install at: http://localhost:8984/max.html
```
Vous pouvez vérifier votre installation sur http://localhost:8984/max.html

### Édition de démonstration
### Éditions de démonstration

```bash
$ cd tools
$ cd </path/to/max>/tools

# set the env var $BASEX_PATH only if the basexclient command is not in your PATH. Useless
# if basex was install with your system package manager
# The basex dir must contains the bin subfolder
$ export BASEX_PATH=/path/to/basex
```

```bash
$ ./max.sh --d-tei

or 

# or
$ ./max.sh --d-ead
```

L'édition de démonstration TEI est consultable à **http://localhost:8984/max_tei_demo/accueil.html**
Les éditions de démonstration sont consultables sur :
- http://localhost:8984/max_tei_demo/accueil.html (TEI)
- http://localhost:8984/max_ead_demo/accueil.html (EAD)

## Paramétrage et customisation

+4 −0
Original line number Diff line number Diff line
  <section>
    <h1>À propos</h1>
    <p>Modifiez moi dans editions/$project_id/fragments/fr/about.frag.html.</p>
  </section>
+236 −236

File changed.

Preview size limit exceeded, changes collapsed.