https://github.com/nibalizer/docker-showoff
Executiable docker image for running showoff
https://github.com/nibalizer/docker-showoff
Last synced: 3 months ago
JSON representation
Executiable docker image for running showoff
- Host: GitHub
- URL: https://github.com/nibalizer/docker-showoff
- Owner: nibalizer
- Created: 2018-04-30T20:21:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-06T06:19:39.000Z (over 7 years ago)
- Last Synced: 2025-03-02T10:17:35.462Z (over 1 year ago)
- Language: Makefile
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Docker-showoff
A docker image for running showoff
In case you didn't want to keep a ruby around
## Quickstart
```shell
docker pull nibalizer/docker-showoff
docker run -it --rm -p 9090:9090 --mount type=bind,source="$(pwd)",target=/srv/showoff nibalizer/docker-showoff serve
```
Open web browser to ``http://localhost:9090``
Replace 'serve' above with 'help' to explore showoff functionality.
## Publishing to GitHub Pages
If you would like to have a backup link to your presentation and not rely on
serving your presentation locally from your laptop, you can easily publish your
showoff presentation to GitHub Pages. Follow these steps once you have a version
of your presentation that your are happy with:
* Generate a static version of your presentation:
```shell
showoff github
```
* Create a branch called `gh-pages` off of `master`:
```shell
git checkout -b gh-pages
```
* Push your local `gh-pages` branch to a remote branch on GitHub:
```shell
git push origin gh-pages
```
That's it. A static version of your presentation is now viewable at
`https://YOUR_GITHUB_USERNAME.github.io/YOUR_PRESENTATION_REPO_NAME`. Note that
if you have a custom domain set up, that will be used instead of the default
github.io domain.