Jekyll With Node and Docker
Jekyll, with webpack, webpack-dev-server and Docker handling it all.
Setup
- Install docker & docker-compose
- Run
./scripts/setup.sh
Installing a node module
docker run -it \
--rm \
--volume "$PWD":/usr/src/app \
-w /usr/src/app \
node:8 \
npm install <package-name>
Running
- docker-compose up
Stopping
- docker-compose down
Lint
./scripts/lint.sh