xycode + docker + jekyll
requirement
- docker
- vscode
- xycode
config setup
download xycode config for docker-jekyll
1
2
cd ~/.xycode && curl -O https://raw.githubusercontent.com/exiahuang/xycode-config/master/linux/xycode.docker-jekyll.json
start to develope jekyll in docker
- new a jekyll project : use
docker:jekyll:new:project
- create a docker container : use
docker:jekyll:create container
- open jekyll server : use
docker:jekyll:serve
, openhttp://localhost:4000/
- if you want to use commmand below, please install jekyll/jekyll-compose
docker:jekyll:new:page
docker:jekyll:new:post
docker:jekyll:new:draft
Add this line to your application’s Gemfile: gem ‘jekyll-compose’, group: [:jekyll_plugins] And then execute: $ bundle
New Project
Open serve
change
~/.xycode/xycode.docker-jekyll.json
config file, define your command.