Jekyll’s Docker Container with Demo Content and demo site.
Plugins included:
- Jekyll: 3.8.3
-- jekyll-paginate
-- jekyll-sitemap
-- jekyll-feed
-- jekyll-multisite
-- jekyll-github-metadata
-- jekyll-seo-tag
-- jekyll-watch
-- jekyll-sass-converter
-- jekyll-assets
-- jekyll-multiple-languages-plugin
- Compass: 1.0.3
- NodeJS: 8.9.3
-- NPM: 5.5.1
-- Yarn: 1.3.2
The first of all:
Install Docker:
-
On Linux Ubuntu/Debian:
https://docs.docker.com/install/linux/docker-ce/ubuntu/ https://docs.docker.com/install/linux/docker-ce/debian/
-
On MacOS:
-
On Windows:
Install Docker Compose:
Download repository:
git clone git@github.com:eneus/jekyll.git
Go to downloaded folder:
cd jekyll
Configure your .env file:
COMPOSE_FILE=./configs/docker-compose.yml
COMPOSE_PROJECT=demo # Folder (src/${COMPOSE_PROJECT}), config file ${COMPOSE_PROJECT}.yml,
COMPOSE_PROJECT_NAME=demo # short name used in container name Ex.: demo_jekyll
SITE_NAME=Demo Content
SITE_MAIL=admin@demosite.com
IPRANGE=192.168.16.0/20
CUID=1000
CGID=1000
Start docker container via Makefile:
$ make all
Start docker container via docker-compose:
docker-compose up
or
docker-compose up -d //in background
Now you can access to you static site:
- Jekyll Server: http://localhost:4000
Image Credits: http://gratisography.com/