diff --git a/.gitignore b/.gitignore index 7b4510b..a043c41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ .vagrant stats *.pdf +vm/*.ova +vm/mnt +trainer/ diff --git a/README.md b/README.md index 0466a96..f447edc 100644 --- a/README.md +++ b/README.md @@ -37,19 +37,11 @@ Requirements: * Docker * https://nws.netways.de GitLab instances for the trainer and participants -### Start Showoff in Docker +To run the presentation you will need [showoff 0.19.x](https://rubygems.org/gems/showoff/versions/0.19.6). +After installing it simply run `showoff serve` to get presenter mode with additional notes +and display window to present to your students. -``` -./start.sh -``` - -### Print Static Content - -For GitHub. - -``` -./print.sh -``` +More instructions [here](https://github.com/NETWAYS/training-global#using-docker-to-build-and-serve-the-slide-deck). ### Environment diff --git a/global/.gitignore b/global/.gitignore index 1a9662a..dec5dc7 100644 --- a/global/.gitignore +++ b/global/.gitignore @@ -1,2 +1,3 @@ static stats +trainer diff --git a/Dockerfile b/global/Dockerfile similarity index 72% rename from Dockerfile rename to global/Dockerfile index a9b15ad..216e601 100644 --- a/Dockerfile +++ b/global/Dockerfile @@ -1,10 +1,13 @@ -FROM ubuntu:xenial +FROM ubuntu:bionic +LABEL maintainer="support@netways.de" + +ARG TEMP_DIR=/tmp WORKDIR /training # basic showoff and patched wkhtmltopdf dependencies RUN apt-get update \ - && apt-get install -y \ + && apt-get install -y -q \ build-essential \ wget \ markdown \ @@ -20,7 +23,9 @@ RUN apt-get update \ libxext-dev \ libfontconfig1-dev \ libfreetype6-dev \ - fontconfig + fontconfig \ + && apt-get clean \ + && rm -r /var/lib/apt/lists/* # RUN rm -f /etc/alternatives/ruby \ # && ln -s /usr/bin/ruby1.9.3 /etc/alternatives/ruby \ @@ -28,11 +33,15 @@ RUN apt-get update \ # && ln -s /usr/bin/gem1.9.3 /etc/alternatives/gem # wkhtmltopdf needs a patched QT version -RUN cd $HOME \ +RUN cd $TEMP_DIR \ && wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz \ && tar vxf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz \ - && cp wkhtmltox/bin/wk* /usr/local/bin/ + && cp wkhtmltox/bin/wk* /usr/local/bin/ \ + && rm -rf $TEMP_DIR/wkhtml* RUN gem install showoff --version=0.19.6 -CMD "/bin/bash" +EXPOSE 9090 + +CMD ["showoff", "serve"] + diff --git a/global/Post/01_Feedback.md b/global/Post/01_Feedback.md deleted file mode 100644 index ed9e506..0000000 --- a/global/Post/01_Feedback.md +++ /dev/null @@ -1,4 +0,0 @@ -!SLIDE noprint center -# Feedback - -We look forward to your feedback diff --git a/global/Post/02_Thanks.md b/global/Post/02_Thanks.md deleted file mode 100644 index dfb8750..0000000 --- a/global/Post/02_Thanks.md +++ /dev/null @@ -1,4 +0,0 @@ -!SLIDE noprint center -# Thank You - -Thank you for your attention! diff --git a/global/Post/03_Contributing.md b/global/Post/03_Contributing.md deleted file mode 100644 index 0c2240f..0000000 --- a/global/Post/03_Contributing.md +++ /dev/null @@ -1,13 +0,0 @@ -!SLIDE noprint center -# Contributing - -Contribute to the GitLab training on [GitHub](https://github.com/NETWAYS/gitlab-training) to make it even better. - -Material is licensed under [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International](http://creativecommons.org/licenses/by-nc-sa/4.0/). - - -!SLIDE noprint smbullets -# Contributors - -* Michael Friedrich -* Markus Waldmüller diff --git a/global/Pre/Title/01_Title.md b/global/Pre/Title/01_Title.md deleted file mode 100644 index 7b5ea70..0000000 --- a/global/Pre/Title/01_Title.md +++ /dev/null @@ -1,17 +0,0 @@ -!SLIDE printonly - -
~~~CONFIG:title~~~
created by NETWAYS GmbH
+
+
+
+


+
+
+!SLIDE noprint
+# NETWAYS Trainings
+
+.margin-top-1-5
diff --git a/global/pre/netways/title/00_title.md b/global/pre/netways/title/00_title.md
new file mode 100644
index 0000000..3194b5d
--- /dev/null
+++ b/global/pre/netways/title/00_title.md
@@ -0,0 +1,16 @@
+!SLIDE printonly
+
+
+~~~CONFIG:name~~~
~~~CONFIG:subtitle~~~
+~~~CONFIG:name~~~
~~~CONFIG:subtitle~~~
+~~~CONFIG:name~~~
~~~CONFIG:subtitle~~~
+~~~CONFIG:name~~~
~~~CONFIG:subtitle~~~
-