File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .PHONY : all css serve-dev
2+
3+ all :
4+ @echo ' # These are the available make targets'
5+ @grep ' ^[^#[:space:]\.].*:' Makefile | grep -v all: | tr -d :
6+
7+ css :
8+ npm install
9+ npx less --clean-css=" --s1 --advanced" styles/styles.less > styles/styles.min.css
10+
11+ serve-dev :
12+ docker run -it -p 4000:4000 -v $(pwd ) :/site -w /site library/ruby bash -c ' bundle install && bundle exec jekyll serve -H 0.0.0.0'
Original file line number Diff line number Diff line change @@ -7,17 +7,8 @@ The pages are rendered with Jekyll and kindly hosted by github.
77
88## Run it locally
99
10- ... with Docker:
11-
12- ```
13- docker run -it -p 4000:4000 -v $(pwd):/site -w /site library/ruby bash -c 'bundle install && bundle exec jekyll serve -H 0.0.0.0'
14- ```
10+ ... with Docker: ` make serve-dev `
1511
1612## Build CSS
1713
18- To build the stylesheets run this:
19-
20- ```
21- npm install
22- npx less --clean-css="--s1 --advanced" styles/styles.less > styles/styles.min.css
23- ```
14+ To build the stylesheets run ` make css ` .
You can’t perform that action at this time.
0 commit comments