mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 12:59:06 +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/job-archive
|
||||||
/var/*.db
|
/var/*.db
|
||||||
@ -8,3 +7,5 @@ cc-backend
|
|||||||
/.env
|
/.env
|
||||||
/config.json
|
/config.json
|
||||||
|
|
||||||
|
/web/frontend/public/build
|
||||||
|
/web/frontend/node_modules
|
||||||
|
@ -100,7 +100,7 @@ type ProgramConfig struct {
|
|||||||
var programConfig ProgramConfig = ProgramConfig{
|
var programConfig ProgramConfig = ProgramConfig{
|
||||||
Addr: ":8080",
|
Addr: ":8080",
|
||||||
DisableAuthentication: false,
|
DisableAuthentication: false,
|
||||||
StaticFiles: "./frontend/public",
|
StaticFiles: "./web/frontend/public",
|
||||||
DBDriver: "sqlite3",
|
DBDriver: "sqlite3",
|
||||||
DB: "./var/job.db",
|
DB: "./var/job.db",
|
||||||
JobArchive: "./var/job-archive",
|
JobArchive: "./var/job-archive",
|
||||||
|
@ -13,8 +13,8 @@ yarn install
|
|||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
cp ./configs/env-template.txt .env
|
||||||
go get
|
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 --init-db --add-user demo:admin:AdminDev
|
||||||
./cc-backend
|
|
||||||
|
Loading…
Reference in New Issue
Block a user