Try to clone first with SSH, using HTTPS in case of failure. README updated

This commit is contained in:
Ana Mativi
2017-08-15 18:29:04 +02:00
parent 1ead5c0c32
commit ec941b4301
2 changed files with 21 additions and 1 deletions

View File

@@ -75,7 +75,15 @@ python_interpreter="python3"
function systole {
local current_time=$(date "+%Y.%m.%d-%H.%M.%S")
root_dir="dram.vp.system_$current_time"
`git clone --recursive https://$git_user@git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system.git $root_dir`
echo -e "Cloning. Please be patient...\n"
git clone --recursive git@git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system.git $root_dir --quiet
local success=$?
if [[ $success -eq 0 ]]; then
echo -e "Clone succeeded\n"
else
echo -e "Cloning failed. Trying with HTTPS...\n"
git clone --recursive https://$git_user@git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system.git $root_dir --quiet
fi
cd $root_dir
git checkout master
git pull

View File

@@ -852,6 +852,18 @@ $ cd build/simulator/
$ ./dramSys > output
```
#### Log Collector Script
Users can profit of running multiple simulations automatically with dramSylva.
Example on how to run the script:
``` bash
$ cd DRAMSys/simulator/resources/scripts/dramSylva
$ chmod u+x dramSylva.sh
$ ./dramSylva
```
More detailed information is available in [dramSylva folder](DRAMSys/simulator/resources/scripts/dramSylva).
#### DRAMsys Diagrams
- **Payload Extension information**