Compare commits

...

4 commits

Author SHA1 Message Date
09f4569c75
feat: dev server
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-04-16 00:06:20 +05:30
6599424f27
feat: add dco for dev setup
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-04-15 23:10:48 +05:30
3057be050e
feat: add slide numbers
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-04-15 23:06:03 +05:30
8f5cb82da3
fix: typo socket.io
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-04-15 23:05:39 +05:30
4 changed files with 41 additions and 1 deletions

View file

@ -38,7 +38,7 @@
- <a href="https://python.org/" target="_blank">Python</a> for the backend
- <a href="https://vuejs.org/" target="_blank">VueJS</a> for the fronetend
- <a href="https://mariadb.org/" target="_blank">MariaDB</a> as SQL database
- <a href="https://redis.io/" target="_blank">Redis</a> with <a href="https://socket.io/" target="_blank">Socker.IO</a> for PubSub and data caching
- <a href="https://redis.io/" target="_blank">Redis</a> with <a href="https://socket.io/" target="_blank">Socket.IO</a> for PubSub and data caching
---
- Automated installation using <a href="https://www.ansible.com/" target="_blank">Ansible</a>
- Implemented pixel tracking for outbound emails
@ -147,6 +147,7 @@
// - https://revealjs.com/config/
Reveal.initialize({
hash: true,
slideNumber: 'c/t',
// Learn about plugins: https://revealjs.com/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]

19
Dockerfile.dev Normal file
View file

@ -0,0 +1,19 @@
FROM node:15.14.0-alpine3.12
RUN set -ex \
&& apk add --no-cache \
unzip \
wget
RUN set -ex \
&& wget https://github.com/hakimel/reveal.js/archive/refs/tags/4.1.0.zip \
&& unzip 4.1.0.zip
RUN set -ex \
&& npm i -g \
live-server
WORKDIR /reveal.js-4.1.0
ENTRYPOINT live-server

View file

@ -6,3 +6,7 @@
- [ ] Add a index.html page at root listing out all slides
- [ ] Changes to allow multiple presentations
## Troubleshooting
- `set backupcopy=yes` is what you're looking for

16
docker-compose.yml Normal file
View file

@ -0,0 +1,16 @@
version: '3.8'
services:
slides:
image: codingcoffee/slides-dev
build:
context: .
dockerfile: Dockerfile.dev
restart: unless-stopped
volumes:
- ./0001-intro/index.html:/reveal.js-4.1.0/index.html
- ./0001-intro/images:/reveal.js-4.1.0/images
ports:
- 8080:8080