README.md 899 Bytes
Newer Older
annegf's avatar
annegf committed
1
# Installation
annegf's avatar
annegf committed
2
3
4
5
6
7
Dependency // Dépendances
  * composer : https://getcomposer.org/
  * npm : https://www.w3schools.com/whatis/whatis_npm.asp

Installation
```bash
annegf's avatar
annegf committed
8
9
git clone git@gitlab.com:litt-arts-num/tacitus-on-line.git
cd tacitus-on-line
annegf's avatar
annegf committed
10
composer install
annegf's avatar
annegf committed
11
npm install
12
npm run build
annegf's avatar
annegf committed
13
14
```

annegf's avatar
annegf committed
15
16
17
# Usage
Browse to: // Ouvrir dans son navigateur : `$PATH/tacitus-on-line/` (e.g. `http://localhost/tacitus-on-line/`)

annegf's avatar
annegf committed
18
# Update platform // Mise à jour du site
annegf's avatar
annegf committed
19
```bash
annegf's avatar
annegf committed
20
git pull origin master
21
composer install
annegf's avatar
annegf committed
22
npm install
23
npm run build
annegf's avatar
annegf committed
24
```
annegf's avatar
annegf committed
25
26
27
28
29
30
31
32
33

# Update data // Mise à jour des données
* Update the XML file data/tei/Tacite_BellesLettres_ET_Commentaires.xml
* Run the following XSL Transformation:
  * XML file: data/tei/Tacite_BellesLettres_ET_Commentaires.xml
  * XSL : data/xslt/tacitusOnline.xsl
  * Output: data/xslt/output.log
* Check that everything is ok on your local browser
* Commit and push everything