https://github.com/hirokisan/docker-jekyll
https://github.com/hirokisan/docker-jekyll
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hirokisan/docker-jekyll
- Owner: hirokisan
- Created: 2017-11-27T13:08:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T13:19:08.000Z (over 7 years ago)
- Last Synced: 2024-05-05T15:20:29.515Z (about 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
JELYLL WITH DOCKER FOR DEV
====## PREPARE
* In case you have jekyll app, place it into ./workspace/
* If you do not have it, let's set up app## RUN
```
docker-compose up -d --build
```### SET UP APP
```
$ docker exec -it jekyll_jekyll_1 bash
$ jekyll new . --force
$ jekyll build
```## START&STOP
```
docker-compose start
docker-compose stop
```## DELETE
* After delete, also delete ./.data/db/
* After delete, also delete ./.html/```
docker-compose down
```## STATUS
```
docker ps -a
```## LOG
```
docker-compose logs -f
```## SEE
* [Jekyll](http://localhost:4000/)## REFERENCE
* [jekyll/jekyll](https://hub.docker.com/r/jekyll/jekyll/)