Add docker-compose for easier local preview (#287)
This commit is contained in:
parent
b515de8368
commit
934c8c3313
@ -35,6 +35,15 @@ Change all the details from one place: ``_data/data.yml``
|
|||||||
|
|
||||||
Watch my [video](https://www.youtube.com/embed/T2nx6tj-ZH4) on installation.
|
Watch my [video](https://www.youtube.com/embed/T2nx6tj-ZH4) on installation.
|
||||||
|
|
||||||
|
## To preview/edit localy with docker
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
*docker-compose.yml* file is used to create a container that is reachable under http://localhost:4000.
|
||||||
|
Changes *_data/data.yml* will be visible after a while.
|
||||||
|
|
||||||
## Skins
|
## Skins
|
||||||
|
|
||||||
There are 6 color schemes available:
|
There are 6 color schemes available:
|
||||||
|
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
jekyll:
|
||||||
|
image: jekyll/jekyll:3.8
|
||||||
|
command: jekyll serve --force_polling
|
||||||
|
ports:
|
||||||
|
- 4000:4000
|
||||||
|
volumes:
|
||||||
|
- .:/srv/jekyll
|
Loading…
Reference in New Issue
Block a user