lean-ja / lean-ja.github.io

lean-ja の団体トップページ
https://lean-ja.github.io/
MIT License
0 stars 0 forks source link

README更新 #3

Closed Seasawher closed 10 months ago

Seasawher commented 10 months ago

git submodule 更新コマンドあたりを直す

再現可能な環境構築手順を確立したい

Seasawher commented 10 months ago

@aconite-ac

最終的にどうやってビルドしましたか.git submodule の更新コマンドが通らなかったとのことですが,

git submodule update --init

なら実行できましたか?

aconite-ac commented 10 months ago

@Seasawher

git pull --recurse-submodules

を実行したところ、

Already up to date.

と返ってきたものの、themesフォルダは空のままで、当然zola serveも成功しませんでした。 仕方なくthemesフォルダ上で手動でjuiceをクローンし、zola serveを通しました。


今、提案していただいたコマンド

git submodule update --init

を実行してみたところ、submodule themes/juice の登録とクローンが正常に行われ、 zola serveも成功しました!

haruhisa-enomoto commented 10 months ago

cloneの際にgit clone --recursive https://github.com/lean-ja/website.gitとやればclone時にsubmoduleもひっぱってきてくれるみたいです。これでzola serveもうまくいきました。

Seasawher commented 10 months ago

@haruhisa-enomoto @aconite-ac

ありがとうございます 後で README を更新しておきます