From e81cdf23d0384ac20282675f3d45c3d6329666fa Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 7 Feb 2017 14:53:31 +0800 Subject: Update Installation guide about clone this repo Credit: * How to `git clone` including submodules? https://stackoverflow.com/a/4438292/4856091 --- README.md | 15 +++++++++++++-- 1 file 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``. -- cgit v1.2.2