Introduce ldap container. Prepare XDebug

Add check in init.sh script for fresh setup.
This commit is contained in:
Jan Eitzinger
2021-09-06 11:07:18 +02:00
parent f5d3598661
commit f3e3757b65
5 changed files with 82 additions and 33 deletions

View File

@@ -1,5 +1,21 @@
#!/usr/bin/env bash
if [ -d symfony ]; then
echo "Data already initialized!"
echo -n "Perform a fresh initialisation? Answer yes to proceed and no to exit. "
read -r answer
if [ "$answer" == "yes" ]; then
echo "Cleaning directories ..."
rm -rf symfony
sudo rm -rf job-archive
rm -rf influxdb/data/*
echo "done."
else
echo "Aborting ..."
exit
fi
fi
mkdir symfony
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive.tar.xz
tar xJf job-archive.tar.xz