aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-19 11:39:22 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-19 11:39:22 +0200
commit2c145f4a38abf7c9f93b7e278be3604f1cef80f9 (patch)
tree448765dd0333fa7fd4262822ba21f25ba3a24eb6
parentMerge pull request #3429 (diff)
parentREADME: add instructions for cloning / submodules (diff)
downloadmonero-2c145f4a38abf7c9f93b7e278be3604f1cef80f9.tar.xz
Merge pull request #3431
bb07d8d7 README: add instructions for cloning / submodules (anonimal)
-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