Skip to content

naokazuterada/middleman-template

Repository files navigation

Middleman Template

Getting started

  1. このリポジトリをフォークしてください
  2. フォークしたリポジトリの名前を your-project(任意)に変更
  3. package.json 内の repository > url に設定された <your-name><your-project> を適切なものに変更
  4. 下記コマンドを実行
git clone --recursive https://github.com/<your-name>/<your-project>.git
cd <your-project>
yarn setup
  1. buildディレクトリのリポジトリ設定が適切か確認(originとブランチが適切か)

適切な設定の例↓

cd build
git remote -v
origin	git+ssh://git@github.com/<your-name>/<your-project>.git (fetch)
origin	git+ssh://git@github.com/<your-name>/<your-project>.git (push)
git branch
* staging
  1. この README.md は必要ないので削除
  2. README-TEMPLATE.mdREADME.md にリネームして、必要な箇所を編集
  3. 以上で、完了です。Have a nice coding!!
yarn start