0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

laradockで作成したプロジェクトがgithubで開けない

Posted at

こちらの記事を参考に環境構築
LaradockをWindows 10 Homeにインストール

デイレクトリ構成はこんな感じ

laradockpjt/
├app(laravelのプロジェクト)
├laradock

ローカルでの環境構築を終えてgithubにpush

しかしlaradockpjt直下のappフォルダが開けない(非活性?になってる)

原因

最初にlaradockをsubmoduleとしてクローンしてない
(gitのサブモジュール機能に関して全くの無知だった…)

git clone -b LaraDock-ToolBox https://github.com/LaraDock/laradock.git
//こっちだと開けない
git submodule add https://github.com/LaraDock/laradock.git
//こっちのコマンドでlaradockをサブモジュール化

後は手順通りに進めるとOK!

すでに環境構築済みだったので巻き戻しにかなり時間食ってしまった…

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?