From 2de4d03c8d1eaeea8140f2ff1c1c5eca942067dd Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Sat, 25 Feb 2023 08:29:08 +0100 Subject: [PATCH] Make startDemo.sh use Makefile --- startDemo.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/startDemo.sh b/startDemo.sh index d210772..8667df0 100755 --- a/startDemo.sh +++ b/startDemo.sh @@ -4,21 +4,16 @@ if [ -d './var' ]; then echo 'Directory ./var already exists! Skipping initialization.' ./cc-backend --server --dev else - mkdir ./var - cd ./var + make + cd var wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive-dev.tar.xz tar xJf job-archive-dev.tar.xz rm ./job-archive-dev.tar.xz + cd ../ - cd ../web/frontend - yarn install - yarn build - - cd ../.. cp ./configs/env-template.txt .env cp ./docs/config.json config.json - go build ./cmd/cc-backend ./cc-backend --migrate-db ./cc-backend --server --dev --init-db --add-user demo:admin:AdminDev