aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-07 14:53:31 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-07 14:53:31 +0800
commite81cdf23d0384ac20282675f3d45c3d6329666fa (patch)
tree9376fd6d60a70ada9c6c0a906cb3648d9c7676bf
parentd4eb2faf10544fe41e5f493520bd091569b52efa (diff)
downloadchandra-acis-analysis-e81cdf23d0384ac20282675f3d45c3d6329666fa.tar.bz2
Update Installation guide about clone this repo
Credit: * How to `git clone` including submodules? https://stackoverflow.com/a/4438292/4856091
-rw-r--r--README.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2799971..c74ebab 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,18 @@ TODO
Installation
------------
-1. ``mass_profile``
+1. Clone this repository with ``opt_utilities``:
+```
+$ git clone --recursive https://github.com/liweitianux/chandra-acis-analysis.git
+```
+or in this way:
+```
+$ git clone https://github.com/liweitianux/chandra-acis-analysis.git
+$ cd chandra-acis-analysis
+$ git submodule update --init --recursive
+```
+
+2. Build ``mass_profile``
```
$ cd mass_profile
$ make clean
@@ -57,7 +68,7 @@ $ make
$ make OPENMP=yes
```
-2. ``cosmo_calc``
+3. Get and build ``cosmo_calc``
Get it from repository [atoolbox](https://github.com/liweitianux/atoolbox),
under the directory ``astro/cosmo_calc``.