“detoxify”

master
Simon Bruder 2018-06-01 18:45:54 +00:00
parent e694fc9561
commit a1c564eb7c
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
8 changed files with 7 additions and 2724 deletions

View File

@ -19,8 +19,9 @@ pipeline:
revealjs:
image: node
commands:
environment:
- NODE_ENV=production
commands:
- ./compile.sh revealjs
publish:

View File

@ -87,7 +87,7 @@ fonts: latex/fonts
https://cdn.jsdelivr.net/npm/mozilla-fira-pack/Fira/ttf/FiraSans-UltraLight.ttf
revealjs/node_modules:
(cd $(@D) && npm install)
(cd $(@D) && NODE_ENV=development npm install)
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 $@

View File

@ -1,14 +1,10 @@
version: '3.5'
services:
browser-sync:
image: node:alpine
http:
image: nginx:alpine
volumes:
- ./:/data:ro
working_dir: /data
- ./:/usr/share/nginx/html/:ro
expose:
- "3000"
- "3001"
- "80"
labels:
- "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

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,6 @@
"author": "Simon Bruder",
"license": "MIT",
"devDependencies": {
"browser-sync": "^2.24.4",
"phantomjs-prebuilt": "^2.1.16"
}
}