aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoranonimal <anonimal@i2pmail.org>2018-03-18 17:02:14 +0000
committeranonimal <anonimal@i2pmail.org>2018-03-18 17:14:07 +0000
commitbb07d8d7f71f3ec75e4d46118576febfc5c7cef0 (patch)
tree448765dd0333fa7fd4262822ba21f25ba3a24eb6 /README.md
parentMerge pull request #3429 (diff)
downloadmonero-bb07d8d7f71f3ec75e4d46118576febfc5c7cef0.tar.xz
README: add instructions for cloning / submodules
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 114afcd4e..371dd6892 100644
--- a/README.md
+++ b/README.md
@@ -187,6 +187,16 @@ library archives (`.a`).
[^] On Debian/Ubuntu `libgtest-dev` only includes sources and headers. You must
build the library binary manually. This can be done with the following command ```sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/ ```
+### Cloning the repository
+
+Clone recursively to pull-in needed submodule(s):
+
+`$ git clone --recursive https://github.com/monero-project/monero`
+
+If you already have a repo cloned, initialize and update:
+
+`$ cd monero && git submodule init && git submodule update`
+
### Build instructions
Monero uses the CMake build system and a top-level [Makefile](Makefile) that