Skip to content

AndroidDagashi/androiddagashi.github.io

Repository files navigation

AndroidDagashi

Actions Status Actions Status

Build Setup

direnvをインストール

envrc.template.envrcにリネームして、GH_READONLY_TOKENにGitHub Personal Access Tokenを入力する。
PublicレポジトリならPersonal Access Tokenの権限はすべて外せる。

パッケージマネージャはyarnを利用。 yarnのworkspace機能を使っているため、npmでは動かない。

# install dependencies
$ yarn install

# generate api jsons
$ yarn api:generate

# generate rss feed
$ yarn rss:generate

# serve with hot reload at localhost:3000
$ yarn site:dev

# generate static project
$ yarn site:generate

Workspaces

TBD

Others

delete all node_modules in this repo.

$ find . -name 'node_modules' -type d -exec rm -rf {} \;