Loading Makefile +30 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,6 @@ install-basex: # BaseX & dépendances: Téléchargement, installation et défini ./.max/basex/bin/basex -c"CREATE DB max";\ echo 'Création du fichier de configuration par défaut "config.xml"';\ cp config.xml.sample config.xml;\ cp src/resources/max.css .max/basex/webapp/static/;\ echo 'Installation de BaseX terminée.';\ fi .PHONY: install-basex Loading Loading @@ -66,6 +65,36 @@ package: install ## Construction d'une version distribuable de MaX @echo 'Package disponible dans le dossier package.' .PHONY: package run: ## Lancement de MaX @./src/scripts/max.sh run .PHONY: run clean: ## Supprime l'installation de MaX et les fichiers du projet @./src/scripts/max.sh clean .PHONY: clean init: ## Initialisation à partir du fichier de configuration courant @ ./src/scripts/max.sh install .PHONY: init demo : ## Installation d'une édition de démo @./src/scripts/max.sh demo .PHONY: demo feed : ## Ajout de sources xml @if [ -z $(path) ]; then\ echo "USAGE : make feed path=/path/to/dir/";\ exit 1;\ elif [ ! -d $(path) ]; then\ echo "Dossier "$(path)" introuvable !";\ echo "USAGE : make feed path=/path/to/dir/"; \ exit 1;\ fi;\ @./src/scripts/max.sh feed $(path) .PHONY: feed help: ## Affiche cette aide Loading README.md +7 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,13 @@ Ce dépôt contient les bundles Il contient le serveur BaseX. C'est un dossier (caché) purement technique dans lequel l'utilisateur n'aura pas (et ne devra pas) intervenir. ## Makefile et max.sh - Le Makefile propose les fonctionnalités liées au développement du coeur de MaX. - `max.sh` (src/scripts/max.sh) contient les commandes utilisateur de MaX ## Documentations Consultables [ici] (https://git.unicaen.fr/pdn-certic/max-documentation/-/tree/max-v2/docs) Loading fixtures/config.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,6 @@ <title>mon Corpus Numérique</title> <bundles> <bundle name="max-dumb-tei" url="https://git.unicaen.fr/chauveau/max-dumb-tei.git"/> <bundle name="max-db" url="https://git.unicaen.fr/chauveau/max-db-bundle.git"/> <bundle name="max-db-bundle" url="https://git.unicaen.fr/chauveau/max-db-bundle.git"/> </bundles> </configuration> src/scripts/max.sh +0 −10 Original line number Diff line number Diff line Loading @@ -163,13 +163,3 @@ while [[ "$#" -gt 0 ]]; do esac shift done # #set -- "${args[@]}" #while [[ "$#" -gt 0 ]]; do # case $1 in # #--disable-plugin) disable_plugin "$2" "$3";exit 0;; # *) echo "Unknown parameter passed: $1"; exit 1 ;; # esac # shift #done Loading
Makefile +30 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,6 @@ install-basex: # BaseX & dépendances: Téléchargement, installation et défini ./.max/basex/bin/basex -c"CREATE DB max";\ echo 'Création du fichier de configuration par défaut "config.xml"';\ cp config.xml.sample config.xml;\ cp src/resources/max.css .max/basex/webapp/static/;\ echo 'Installation de BaseX terminée.';\ fi .PHONY: install-basex Loading Loading @@ -66,6 +65,36 @@ package: install ## Construction d'une version distribuable de MaX @echo 'Package disponible dans le dossier package.' .PHONY: package run: ## Lancement de MaX @./src/scripts/max.sh run .PHONY: run clean: ## Supprime l'installation de MaX et les fichiers du projet @./src/scripts/max.sh clean .PHONY: clean init: ## Initialisation à partir du fichier de configuration courant @ ./src/scripts/max.sh install .PHONY: init demo : ## Installation d'une édition de démo @./src/scripts/max.sh demo .PHONY: demo feed : ## Ajout de sources xml @if [ -z $(path) ]; then\ echo "USAGE : make feed path=/path/to/dir/";\ exit 1;\ elif [ ! -d $(path) ]; then\ echo "Dossier "$(path)" introuvable !";\ echo "USAGE : make feed path=/path/to/dir/"; \ exit 1;\ fi;\ @./src/scripts/max.sh feed $(path) .PHONY: feed help: ## Affiche cette aide Loading
README.md +7 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,13 @@ Ce dépôt contient les bundles Il contient le serveur BaseX. C'est un dossier (caché) purement technique dans lequel l'utilisateur n'aura pas (et ne devra pas) intervenir. ## Makefile et max.sh - Le Makefile propose les fonctionnalités liées au développement du coeur de MaX. - `max.sh` (src/scripts/max.sh) contient les commandes utilisateur de MaX ## Documentations Consultables [ici] (https://git.unicaen.fr/pdn-certic/max-documentation/-/tree/max-v2/docs) Loading
fixtures/config.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,6 +7,6 @@ <title>mon Corpus Numérique</title> <bundles> <bundle name="max-dumb-tei" url="https://git.unicaen.fr/chauveau/max-dumb-tei.git"/> <bundle name="max-db" url="https://git.unicaen.fr/chauveau/max-db-bundle.git"/> <bundle name="max-db-bundle" url="https://git.unicaen.fr/chauveau/max-db-bundle.git"/> </bundles> </configuration>
src/scripts/max.sh +0 −10 Original line number Diff line number Diff line Loading @@ -163,13 +163,3 @@ while [[ "$#" -gt 0 ]]; do esac shift done # #set -- "${args[@]}" #while [[ "$#" -gt 0 ]]; do # case $1 in # #--disable-plugin) disable_plugin "$2" "$3";exit 0;; # *) echo "Unknown parameter passed: $1"; exit 1 ;; # esac # shift #done