cc-backend/startDemo.sh
sanjay7178 f58a0217f8 Add job-archive-demo.tar to .gitignore and ignore .idea directory in migrations/mysql***
***Update config-demo.json with new database connection details***
***Add console.log statement in Systems.root.svelte***
***Add "Partitions" menu item in Header.svelte***
***Add partitions related files and routes***
***Add partitions.entrypoint.js***
***Update Makefile to use pnpm instead of npm***
***Comment out wget commands in startDemo.sh***
***Update rollup.config.mjs to include partitions.entrypoint.js***
***Add PartitionSetting.svelte and Dashboard.svelte
2024-02-15 17:05:01 +05:30

18 lines
519 B
Bash
Executable File

#!/bin/sh
if [ -d './var' ]; then
echo 'Directory ./var already exists! Skipping initialization.'
./cc-backend -server -dev
else
make
# wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive-demo.tar
tar xf job-archive-demo.tar
# rm ./job-archive-demo.tar
cp ./configs/env-template.txt .env
cp ./configs/config-demo.json config.json
./cc-backend -migrate-db
./cc-backend -server -dev -init-db -add-user demo:admin:demo
fi