2022-04-08 18:41:29 +02:00
|
|
|
|
|
|
|
# Jekyll
|
|
|
|
|
|
|
|
Enlaces de interés
|
|
|
|
* [Alojamiento de la gema Ruby](https://rubygems.org/gems/jekyll)
|
|
|
|
* [Página principal](https://jekyllrb.com/)
|
|
|
|
|
|
|
|
## Instalación
|
|
|
|
|
|
|
|
1. Tener Ruby instalado.
|
2022-04-08 18:49:27 +02:00
|
|
|
2. Se require tener el compilador de g++ instalado (`zypper in gcc-c++`)
|
|
|
|
3. Instalar la gema. Teniendo el [Gemfile](Gemfile) con `bundler install`.
|
2022-04-08 18:41:29 +02:00
|
|
|
|
|
|
|
## Demo
|
|
|
|
|
|
|
|
```
|
|
|
|
gem install bundler jekyll
|
2022-04-08 18:51:11 +02:00
|
|
|
jekyll new private.site
|
|
|
|
cd privatesite
|
2022-04-08 18:41:29 +02:00
|
|
|
bundle exec jekyll serve
|
|
|
|
# => Now browse to http://localhost:4000
|
|
|
|
```
|