mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Fix paths. Adapt gitignore
This commit is contained in:
parent
f0dab0e229
commit
f291aa2f8c
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
# executable:
|
||||
cc-backend
|
||||
/cc-backend
|
||||
|
||||
/var/job-archive
|
||||
/var/*.db
|
||||
@ -8,3 +7,5 @@ cc-backend
|
||||
/.env
|
||||
/config.json
|
||||
|
||||
/web/frontend/public/build
|
||||
/web/frontend/node_modules
|
||||
|
@ -100,7 +100,7 @@ type ProgramConfig struct {
|
||||
var programConfig ProgramConfig = ProgramConfig{
|
||||
Addr: ":8080",
|
||||
DisableAuthentication: false,
|
||||
StaticFiles: "./frontend/public",
|
||||
StaticFiles: "./web/frontend/public",
|
||||
DBDriver: "sqlite3",
|
||||
DB: "./var/job.db",
|
||||
JobArchive: "./var/job-archive",
|
||||
|
@ -13,8 +13,8 @@ yarn install
|
||||
yarn build
|
||||
|
||||
cd ../..
|
||||
cp ./configs/env-template.txt .env
|
||||
go get
|
||||
go build cmd/cc-backend
|
||||
go build ./cmd/cc-backend
|
||||
|
||||
./cc-backend --init-db --add-user demo:admin:AdminDev --no-server
|
||||
./cc-backend
|
||||
./cc-backend --init-db --add-user demo:admin:AdminDev
|
||||
|
Loading…
Reference in New Issue
Block a user