Develop Guide - o-p/docker-nunjucks GitHub Wiki
There are some particular parts in the project:
ECMAScript
Setup
The docker image is base on node:10
. If you're expecting develop ECMAScript sections of the project, strongly recommended to install nvm and apply v10 environment.
$ nvm install 10.a.b
$ nvm use 10.a.b
$ node -v && yarn -v
v10.15.0
1.7.0
While the environment is ready, you can now clone the repository and install dependencies:
$ git clone [email protected]:o-p/docker-nunjucks.git
$ cd docker-nunjucks/script
$ yarn
yarn install v1.7.0
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 📃 Building fresh packages...
✨ Done in 1.93s.
Test Drive
$ echo '{ "hello": "world" }' | yarn dev --json
# Should print debug messages and print formatted results
Docker
# ...
Themes
# ...
Documentations
# ...