Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dersimn/dersimn.github.io
https://github.com/dersimn/dersimn.github.io
Last synced: about 13 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/dersimn/dersimn.github.io
- Owner: dersimn
- Created: 2015-12-09T19:38:52.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T15:53:47.000Z (2 months ago)
- Last Synced: 2024-09-14T06:48:37.817Z (2 months ago)
- Language: Dockerfile
- Size: 317 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage
Serve is the default command:
docker run --rm -p 8000:8000 -v "$(pwd)":/mkdocs dersimn/mkdocs
Build with:
docker run --rm -v "$(pwd)":/mkdocs dersimn/mkdocs build
docker run --rm -p 8000:80 -v "$(pwd)"/site:/usr/share/nginx/html:ro nginxDeploy to GitHub Pages:
git remote add origin [email protected]:dersimn/dersimn.github.io.git
docker run --rm -v "$(pwd)":/mkdocs dersimn/mkdocs gh-deploy
If the command fails:
git push origin gh-pages
## Build manually
docker build -t dersimn/mkdocs .
Or as a single command for e.g.:
docker build -t mkdocs_tmp . && docker run --rm -p 8000:8000 -v "$(pwd)":/mkdocs mkdocs_tmp
# Edit via Web UI
VS Code
docker run -it --init -p 3000:3000 -v "$(pwd):/home/workspace:cached" gitpod/openvscode-server
Log Output
docker logs -f 1b6f123733dc 2>&1 | docker run --rm -i -p 9001:9001 mthenw/frontail -