mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Adapt github workflow and startDemo.sh script
This commit is contained in:
parent
6c22c0c4c0
commit
3c06619cc9
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -12,6 +12,6 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Build, Vet & Test
|
- name: Build, Vet & Test
|
||||||
run: |
|
run: |
|
||||||
go build ./...
|
go build cmd/cc-backend
|
||||||
go vet ./...
|
go vet cmd/cc-backend
|
||||||
go test ./...
|
go test test
|
||||||
|
@ -8,13 +8,13 @@ tar xJf job-archive.tar.xz
|
|||||||
rm ./job-archive.tar.xz
|
rm ./job-archive.tar.xz
|
||||||
|
|
||||||
touch ./job.db
|
touch ./job.db
|
||||||
cd ../frontend
|
cd ../web/frontend
|
||||||
yarn install
|
yarn install
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
cd ..
|
cd ../..
|
||||||
go get
|
go get
|
||||||
go build
|
go build cmd/cc-backend
|
||||||
|
|
||||||
./cc-backend --init-db --add-user demo:admin:AdminDev --no-server
|
./cc-backend --init-db --add-user demo:admin:AdminDev --no-server
|
||||||
./cc-backend
|
./cc-backend
|
||||||
|
Loading…
Reference in New Issue
Block a user