Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorgechato/talks
Just another repo where I store all the slides from the speeches I do
https://github.com/jorgechato/talks
Last synced: 27 days ago
JSON representation
Just another repo where I store all the slides from the speeches I do
- Host: GitHub
- URL: https://github.com/jorgechato/talks
- Owner: jorgechato
- Created: 2017-11-28T18:49:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T20:04:07.000Z (almost 7 years ago)
- Last Synced: 2024-11-07T10:45:48.411Z (3 months ago)
- Language: CSS
- Homepage: http://talks.jorgechato.com
- Size: 25.6 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My slides
[![Docker](https://quay.io/repository/orggue/talks/status "Docker")](https://quay.io/repository/orggue/talks)
[![Godoc](https://img.shields.io/badge/documentation-present-blue.svg)](https://godoc.org/golang.org/x/tools/present)
[![JavaScriptdoc](https://img.shields.io/badge/documentation-reveal.js-yellow.svg)](https://github.com/hakimel/reveal.js)## Install & Run
### If the slide is *.slide
#### Local
```zsh
$ go get golang.org/x/tools/cmd/present
$ present -base present -notes
```
#### Docker
```zsh
$ docker build \
-t jorge-go-slides \
-f Dockerfile-go .$ docker run -d \
-v ${PWD}/2018:/slides/2018 \
-v ${PWD}/present:/slides/present \
-v .${PWD}/common:/slides/common \
-p 3999:3999 \
--name go-slides \
jorge-go-slides# or
$ docker-compose up -d go
```
### If the slide is *.html
#### Local
Follow the instructions you will find in the [reveal.js documentation](https://github.com/hakimel/reveal.js).
#### Docker
```zsh
$ docker build \
-t jorge-js-slides \
-f Dockerfile-js .$ docker run -d \
-v ${PWD}/2018:/slides/2018 \
-v ${PWD}/reveal/css:/slides/css \
-v .${PWD}/common:/slides/common \
-p 8000:8000 \
--name js-slides \
jorge-js-slides# or
$ docker-compose up -d js
# or
$ docker pull quay.io/orggue/talks
$ docker run -p 8000:8000 quay.io/orggue/talks -d
```
## Variables
If you are running it with docker-compose, which I recommend, you can set the
variables in the .env file.
```zsh
# Common variables
COMMONDIR=common# *.slides variables
PRESENT=present
GOPORT=3999# *.html variables
REVEALCSS=reveal/css
JSPORT=8000
```
## Notes
If the file starts with *note-*, It is just a note not a slide.