“detoxify”
This commit is contained in:
parent
e694fc9561
commit
a1c564eb7c
|
@ -19,8 +19,9 @@ pipeline:
|
||||||
|
|
||||||
revealjs:
|
revealjs:
|
||||||
image: node
|
image: node
|
||||||
commands:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
|
commands:
|
||||||
- ./compile.sh revealjs
|
- ./compile.sh revealjs
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -87,7 +87,7 @@ fonts: latex/fonts
|
||||||
https://cdn.jsdelivr.net/npm/mozilla-fira-pack/Fira/ttf/FiraSans-UltraLight.ttf
|
https://cdn.jsdelivr.net/npm/mozilla-fira-pack/Fira/ttf/FiraSans-UltraLight.ttf
|
||||||
|
|
||||||
revealjs/node_modules:
|
revealjs/node_modules:
|
||||||
(cd $(@D) && npm install)
|
(cd $(@D) && NODE_ENV=development npm install)
|
||||||
|
|
||||||
revealjs/%/index.pdf: revealjs/%/index.html
|
revealjs/%/index.pdf: revealjs/%/index.html
|
||||||
revealjs/node_modules/phantomjs-prebuilt/bin/phantomjs revealjs/node_modules/reveal.js/plugin/print-pdf/print-pdf.js file://$(PWD)/$<?print-pdf $@
|
revealjs/node_modules/phantomjs-prebuilt/bin/phantomjs revealjs/node_modules/reveal.js/plugin/print-pdf/print-pdf.js file://$(PWD)/$<?print-pdf $@
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
version: '3.5'
|
version: '3.5'
|
||||||
services:
|
services:
|
||||||
browser-sync:
|
http:
|
||||||
image: node:alpine
|
image: nginx:alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/data:ro
|
- ./:/usr/share/nginx/html/:ro
|
||||||
working_dir: /data
|
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "80"
|
||||||
- "3001"
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.frontend.rule=Host:presis.pita.home.sbruder.de"
|
- "traefik.frontend.rule=Host:presis.pita.home.sbruder.de"
|
||||||
- "traefik.port=3000"
|
|
||||||
command: ["./revealjs/node_modules/.bin/browser-sync", "start", "--no-open", "-s", "/data/", "--files", "**", "--ignore", "**/*.less"]
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 897 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 2.2 MiB |
Binary file not shown.
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 1.1 MiB |
2338
revealjs/package-lock.json
generated
2338
revealjs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -14,7 +14,6 @@
|
||||||
"author": "Simon Bruder",
|
"author": "Simon Bruder",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.24.4",
|
|
||||||
"phantomjs-prebuilt": "^2.1.16"
|
"phantomjs-prebuilt": "^2.1.16"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue