sergio.am/_posts/2021-10-02-hi.md

23 lines
593 B
Markdown
Raw Permalink Normal View History

2021-11-02 19:10:47 +00:00
---
layout: post
title: "Hola!"
2022-05-16 11:41:06 +00:00
tags: [jekyll, python, server, md, markdown]
2021-11-02 19:10:47 +00:00
---
2022-05-07 17:46:12 +00:00
Primer post, sin mucho que contar para variar. Al menos habrá un bonito _commit_ y muchas cosas por limpiar.
2021-11-02 19:10:47 +00:00
2022-05-07 17:46:12 +00:00
La chuleta para hacer andar esto es la siguiente:
2024-04-13 22:43:47 +00:00
```bash
2022-05-07 17:46:12 +00:00
docker run -it --rm --volume="$PWD:/srv/jekyll:Z" jekyll/jekyll jekyll build
docker run -it --rm --volume="$PWD:/srv/jekyll:Z" -p 4000:4000 jekyll/jekyll jekyll serve
```
O bien, si ya está _buildeado_:
2024-04-13 22:43:47 +00:00
```bash
2022-05-07 17:46:12 +00:00
cd _site
python3 -m http.server 4000
```
Y acceder a <http://localhost:4000>. Así de simple por ahora.