mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 04:49:05 +01:00
Add shell skript for easy Demo setup
This commit is contained in:
parent
51b9a40a33
commit
95cf4ba053
20
startDemo.sh
Executable file
20
startDemo.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir ./var
|
||||
cd ./var
|
||||
|
||||
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive.tar.xz
|
||||
tar xJf job-archive.tar.xz
|
||||
rm ./job-archive.tar.xz
|
||||
|
||||
touch ./job.db
|
||||
cd ../frontend
|
||||
yarn install
|
||||
yarn build
|
||||
|
||||
cd ..
|
||||
go get
|
||||
go build
|
||||
|
||||
./cc-backend --init-db --add-user demo:admin:AdminDev --no-server
|
||||
./cc-backend
|
Loading…
Reference in New Issue
Block a user