From bebf8f5af21a163290c07e0f9c8bd068c00816a7 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Thu, 7 Apr 2022 13:56:44 +0000 Subject: [PATCH] Use git clone --recursive (#131) --- src/en/contributing/docker_development.md | 4 ++-- src/en/contributing/local_development.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/en/contributing/docker_development.md b/src/en/contributing/docker_development.md index d51a759..7bdef3a 100644 --- a/src/en/contributing/docker_development.md +++ b/src/en/contributing/docker_development.md @@ -6,7 +6,7 @@ ```bash sudo apt install git docker-compose sudo systemctl start docker -git clone https://github.com/LemmyNet/lemmy +git clone https://github.com/LemmyNet/lemmy --recursive ``` ### Arch-based distro @@ -14,7 +14,7 @@ git clone https://github.com/LemmyNet/lemmy ```bash sudo pacman -S git docker-compose sudo systemctl start docker -git clone https://github.com/LemmyNet/lemmy +git clone https://github.com/LemmyNet/lemmy --recursive ``` ## Running diff --git a/src/en/contributing/local_development.md b/src/en/contributing/local_development.md index 1f58ef0..7a61d67 100644 --- a/src/en/contributing/local_development.md +++ b/src/en/contributing/local_development.md @@ -30,9 +30,9 @@ brew install node yarn ### Get the back end source code ``` -git clone https://github.com/LemmyNet/lemmy.git +git clone https://github.com/LemmyNet/lemmy.git --recursive # or alternatively from gitea -# git clone https://yerbamate.ml/LemmyNet/lemmy.git +# git clone https://yerbamate.ml/LemmyNet/lemmy.git --recursive ``` ### Build the backend (Rust) @@ -43,7 +43,7 @@ cargo build ### Get the front end source code ``` -git clone https://github.com/LemmyNet/lemmy-ui.git --recurse-submodules +git clone https://github.com/LemmyNet/lemmy-ui.git --recursive ``` ### Setup postgresql