forked from robert/robertjohnson.work
Add docker-compose for easier local preview (#287)
This commit is contained in:
parent
b515de8368
commit
934c8c3313
11
README.md
11
README.md
@ -3,7 +3,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
# Orbit
|
# Orbit
|
||||||
> This theme is designed by Xiaoying Riley at [3rd Wave Media](http://themes.3rdwavemedia.com/).
|
> This theme is designed by Xiaoying Riley at [3rd Wave Media](http://themes.3rdwavemedia.com/).
|
||||||
> Visit her [website](http://themes.3rdwavemedia.com/) for more themes.
|
> Visit her [website](http://themes.3rdwavemedia.com/) for more themes.
|
||||||
|
|
||||||
I have made this into a Jekyll Theme. Checkout the live demo [here](https://online-cv.webjeda.com).
|
I have made this into a Jekyll Theme. Checkout the live demo [here](https://online-cv.webjeda.com).
|
||||||
@ -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