mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Adapt startDemo script to new flags
This commit is contained in:
parent
4652f1dae1
commit
6ed9f16882
@ -3,7 +3,7 @@
|
|||||||
mkdir ./var
|
mkdir ./var
|
||||||
cd ./var
|
cd ./var
|
||||||
|
|
||||||
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive.tar.xz
|
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive-dev.tar.xz
|
||||||
tar xJf job-archive.tar.xz
|
tar xJf job-archive.tar.xz
|
||||||
rm ./job-archive.tar.xz
|
rm ./job-archive.tar.xz
|
||||||
|
|
||||||
@ -13,8 +13,8 @@ yarn install
|
|||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
# Use your own keys in production!
|
|
||||||
cp ./configs/env-template.txt .env
|
cp ./configs/env-template.txt .env
|
||||||
|
cp ./docs/config.json config.json
|
||||||
go build ./cmd/cc-backend
|
go build ./cmd/cc-backend
|
||||||
|
|
||||||
./cc-backend --init-db --add-user demo:admin:AdminDev
|
./cc-backend --server --dev --init-db --add-user demo:admin:AdminDev
|
Loading…
Reference in New Issue
Block a user