Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Outillage
prezbuilder
Commits
c5e1f1bd
Commit
c5e1f1bd
authored
May 11, 2020
by
Guillaume Perréal
Browse files
Mise à jour de la doc.
parent
a9061115
Changes
1
Show whitespace changes
Inline
Side-by-side
src/index.md
View file @
c5e1f1bd
...
...
@@ -15,7 +15,7 @@ La présentation que vous regardez a été générée avec prezbuilder !
# Installation
## A
partir des sources
## A
vec NPM
Prérequis :
...
...
@@ -25,12 +25,10 @@ Prérequis :
-
[
wkhtmltopdf
](
https://wkhtmltopdf.org/downloads.html
)
(
optionel
)
-
gulp-cli (
`npm install --global gulp-cli`
)
Récupération des sources
:
Installation
:
```
bash
sudo
npm
install
--global
gulp-cli
git clone https://gitlab.irstea.fr/pole-is/tools/prezbuild.git
npm
install
--no-dev
npm
install
--global
git+https://gitlab.irstea.fr/pole-is/tools/prezbuild.git
```
## Avec Docker
...
...
@@ -118,18 +116,18 @@ prezbuiler peut être exécuté selon deux modes :
-
présentation accessible sur http://localhost:3000,
-
mise à jour automatique sur modification des sources.
## A
partir des sources
## A
vec NPM
#### Build
```
bash
gulp build
prezbuilder build
[
répertoire_source
[
répertoire_sortie]]
```
#### Dev
```
bash
gulp dev
prezbuilder dev
[
répertoire_source
[
répertoire_sortie]]
```
## Avec Docker
...
...
@@ -147,5 +145,10 @@ docker run --rm -t --init -u $(id -u):$(id -g) -v $PWD/src:/src:ro -v $PWD/publi
Il faut également mapper les ports 3000 et 35729 :
```
bash
docker run
--rm
-t
--init
-u
$(
id
-u
)
:
$(
id
-g
)
-v
$PWD
/src:/src:ro
-p
3000:3000
-p
35729:35729 gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:master
docker run
--rm
-t
--init
-u
$(
id
-u
)
:
$(
id
-g
)
-v
$PWD
/src:/src:ro
-p
3000:3000
-p
35729:35729 gitlab-registry.irstea.fr/pole-is/tools/prezbuilder:master
dev
```
# Références
-
[
Documentation reveal.js
](
https://github.com/hakimel/reveal.js/#table-of-contents
)
-
[
Documentation pandoc
](
https://pandoc.org/MANUAL.html
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment