Hugo and direnv can be installed from homebrew:
$ brew install hugo direnv git-lfs nodenv
$ nodenv install
$ nodenv rehash
We will use gulp tasks to compile sass files, so required npm modules are:
$ npm install -g gulp-cli textlint
$ npm install
Husky helps setting up custom pre-commit hooks:
npm run prepare
recommend.py depends on prelims and MeCab Japanese morphological analyzer:
brew install mecab mecab-ipadic
git clone --depth 1 git@github.com:neologd/mecab-ipadic-neologd.git
cd mecab-ipadic-neologd
./bin/install-mecab-ipadic-neologd -n
pip install -r scripts/py/requirements.txt
I should create new contents in _content/ directory and sass files in _scss/ directory both for gulp
command.
$ npm run build
Note that this task takes long time to get JSON from twitter, for each twitter URL.
If you want to track file modification in real-time, run
$ npm run watch
MIT