PC | SP |
Official Corporate Web site of sforzando LLC. and Inc.
$ make help
default 常用
setup 初期
open 閲覧
hide 秘匿
reveal 暴露
start 開始
build 構築
watch 監視
format 整形
test 試験
ngrok 転送
deploy 配備
update-dependencies 追随
update-theme 追随
endorse 裏書
clean 掃除
help 助言
Prepare .envrc
like this,
MAPBOX_ACCESS_TOKEN="xxxx"
Then, run make setup
.
git submodule add -b stable https://github.com/jpanther/congo.git themes/congo
make
Then, web server is available at http://0.0.0.0:1313/.
To open it, make open
.
Transfer by ngrok is convenient for checking on a smartphone, use make ngrok
.
Generate dummy articles for testing.
for i in {0000..0023}; do
for l in {en,ja}; do
hugo new "works/${i}.ja.md"
done
done
All dummy photos from Unsplash.
E2E tests is available, make test
.
To deploy this to Netlify manually, make deploy
.
make update-dependencies
See. Congo official document.
make update
When the submodule is update, it may be necessary "Clear cache and deploy site." on Netlify.
To confirm the differences from the latest Congo, make endorse
.
To install git-cliff via Homebrew manually, brew install git-cliff
.
To update CHANGELOG.md
manually, run git-cliff like below.
git cliff --output CHANGELOG.md
To clean up miscellaneous files, make clean
.
This repository is Commitizen friendly, following GitHub flow.
See LICENSE.