mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
ci(devcontainer): init
This commit is contained in:
parent
07ec238eee
commit
64b1c30e85
12
.devcontainer/config.json
Normal file
12
.devcontainer/config.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"bolt": {
|
||||
"host": "database.boltdb",
|
||||
"options": {
|
||||
"sessionConnection": "true"
|
||||
}
|
||||
},
|
||||
"dialect": "bolt",
|
||||
"cookie_hash": "5WJjXCLpvf3Cn5t+C/IV9F0asZUQLakOhCT+eSdIwP0=",
|
||||
"cookie_encryption": "6x6mmQWGn6YcsHN1rN0HiQjhYA+7HukcbCxUGHuT2CE="
|
||||
}
|
||||
|
@ -1,2 +1,13 @@
|
||||
go install github.com/go-task/task/v3/cmd/task@latest
|
||||
(cd web && npm install)
|
||||
|
||||
(cd ./web && npm install)
|
||||
|
||||
task build
|
||||
|
||||
./bin/semaphore user add \
|
||||
--admin \
|
||||
--login user123 \
|
||||
--name User123 \
|
||||
--email user123@example.com \
|
||||
--password 123456 \
|
||||
--config ./.devcontainer/config.json
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -28,7 +28,6 @@ node_modules/
|
||||
.dredd/compiled_hooks
|
||||
.dredd/compiled_hooks.exe
|
||||
|
||||
.vscode
|
||||
__debug_bin*
|
||||
.task/
|
||||
/web/.env
|
14
.vscode/launch.json
vendored
Normal file
14
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Server",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "auto",
|
||||
"program": "./cli/main.go",
|
||||
"args": ["server", "--config", ".devcontainer/config.json"],
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user