2023-07-06 06:33:00 +00:00
|
|
|
# daudix-ufo.github.io/blog
|
2023-06-23 00:19:26 +00:00
|
|
|
|
2023-06-26 22:49:31 +00:00
|
|
|
This is my blog based on [os-component-website](https://github.com/jimmac/os-component-website)
|
|
|
|
|
2023-06-26 22:51:00 +00:00
|
|
|
## Preview locally
|
2023-06-26 22:49:31 +00:00
|
|
|
|
|
|
|
Build the image:
|
|
|
|
|
|
|
|
```
|
|
|
|
podman build --tag gh-pages .
|
|
|
|
```
|
|
|
|
|
|
|
|
Run the image:
|
|
|
|
|
|
|
|
```
|
|
|
|
podman run -it --rm --volume="$PWD:/srv/jekyll:Z" -w /srv/jekyll -p 4000:4000 gh-pages /bin/sh
|
|
|
|
```
|
|
|
|
|
|
|
|
Within the container, run:
|
|
|
|
|
|
|
|
```
|
|
|
|
bundle exec jekyll serve --livereload --host 0.0.0.0
|
|
|
|
```
|
|
|
|
|
2023-07-06 06:33:00 +00:00
|
|
|
_Building guide were shamelessly taken from [here](https://talk.jekyllrb.com/t/local-testing-of-existing-github-jekyll-site/7459/4)_
|