Wicri:ChansonRolandV7 : Différence entre versions
De Wicri Chanson de Roland
(→Mise en œuvre) |
(→Mise en œuvre) |
||
Ligne 40 : | Ligne 40 : | ||
mkdir $EXPLOR_AREA | mkdir $EXPLOR_AREA | ||
mkdir $EXPLOR_AREA/Import | mkdir $EXPLOR_AREA/Import | ||
+ | </source> | ||
+ | ===Sur la machine Demo.Istex=== | ||
+ | <source lang="sh"> | ||
+ | newgrp wicri | ||
+ | source /applis/Dilib/init.sh | ||
+ | </source> | ||
+ | ;Définition $EXPLOR_AREA: | ||
+ | <source lang="sh"> | ||
+ | EXPLOR_AREA=$WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7 | ||
+ | export EXPLOR_AREA | ||
+ | export LC_ALL='C' | ||
+ | </source> | ||
+ | ;Création des répertoires: | ||
+ | <source lang="sh"> | ||
+ | mkdir $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage | ||
+ | cd $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage | ||
+ | mkdir ChansonRolandV7.corpus | ||
+ | mkdir ChansonRolandV7.corpus/Import | ||
+ | mkdir ChansonRolandV7.20210622 | ||
+ | ln -s ChansonRolandV7.20210622 ChansonRolandV7 | ||
+ | ln -s ChansonRolandV7.20210622 ChansonRolandV7.new | ||
+ | </source> | ||
+ | ====Construction du Repository ISTEX==== | ||
+ | <source> | ||
+ | cd ChansonRolandV7.corpus/Import | ||
+ | </source> | ||
+ | |||
+ | ''En cas de reprise au niveau du téléchargement'' | ||
+ | <source lang="sh"> | ||
+ | rm -rf Import/IstexRepository.h* | ||
+ | |||
+ | </source> | ||
+ | <source lang="sh"> | ||
+ | IstexGetCorpus -q ""chanson de roland" OR "song of roland)"" -s 2000 -l \ | ||
+ | | IstexGetCorpusById -A -t $ISTEX_TOKEN \ | ||
+ | | SxmlUnIndent \ | ||
+ | | HfdBuild -bh Import/IstexRepository | ||
+ | |||
+ | </source> | ||
+ | Vérification | ||
+ | <source lang="sh"> | ||
+ | HfdCat Import/IstexRepository.hfd | wc | ||
+ | |||
</source> | </source> |
Version du 22 juin 2021 à 15:29
Cette page introduit les aspects techniques de la version ChansonRolandV7 du « Serveur d'exploration ChansonRolandV7 ».
Voir aussi :
- Wicri:ChansonRolandV7/Paramètres, data - génération des données
- Wicri:ChansonRolandV7/Paramètres, fr - génération de l'interface
- Wicri:ChansonRolandV7/Paramètres, génération des cartes - génération de cartes géographiques
- Wicri:ChansonRolandV7/Paramètres, templates size - paramétrage des modèles liés aux valeurs numériques
- Wicri:ChansonRolandV7/Paramètres, template include - génération du modèle d'affichage des résultats bruts
Sommaire
Mise en œuvre
Sur la machine de développement
Initialisations
- Génération des pages wikis
source IstexGetCorpusSize -q "query"
IstexGenerAreaPages \
-a ChansonRolandV7 \
-m \
-g ChansonRoland \
-x 1 \
-p Europe/ChansonRoland \
-W Europe/ChansonRoland \
-s PascalFrancis \
-s Hal \
-w wic-chan.rol.fr \
-z France \
-z Allemagne \
-q '"chanson de roland" OR "song of roland)"' \
-t "Serveur d'exploration ChansonRolandV7"
- Définition $EXPLOR_AREA
EXPLOR_AREA=$WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7
export EXPLOR_AREA
export LC_ALL='C'
- Création des répertoires
mkdir $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage
mkdir $EXPLOR_AREA
mkdir $EXPLOR_AREA/Import
Sur la machine Demo.Istex
newgrp wicri
source /applis/Dilib/init.sh
- Définition $EXPLOR_AREA
EXPLOR_AREA=$WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage/ChansonRolandV7
export EXPLOR_AREA
export LC_ALL='C'
- Création des répertoires
mkdir $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage
cd $WICRI_ROOT/Europe/ChansonRoland/explor/ChansonRoland.storage
mkdir ChansonRolandV7.corpus
mkdir ChansonRolandV7.corpus/Import
mkdir ChansonRolandV7.20210622
ln -s ChansonRolandV7.20210622 ChansonRolandV7
ln -s ChansonRolandV7.20210622 ChansonRolandV7.new
Construction du Repository ISTEX
cd ChansonRolandV7.corpus/Import
En cas de reprise au niveau du téléchargement
rm -rf Import/IstexRepository.h*
IstexGetCorpus -q ""chanson de roland" OR "song of roland)"" -s 2000 -l \
| IstexGetCorpusById -A -t $ISTEX_TOKEN \
| SxmlUnIndent \
| HfdBuild -bh Import/IstexRepository
Vérification
HfdCat Import/IstexRepository.hfd | wc