初步实现安装界面

This commit is contained in:
GoEdgeLab
2020-10-13 20:05:13 +08:00
parent 911e57b1f2
commit 23c0200e73
76 changed files with 2550 additions and 88 deletions

1
dist/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.zip

BIN
dist/edge-api/bin/edge-api vendored Executable file

Binary file not shown.

View File

@@ -0,0 +1,2 @@
nodeId: "${nodeId}"
secret: "${secret}"

11
dist/edge-api/configs/db.template.yaml vendored Normal file
View File

@@ -0,0 +1,11 @@
default:
db: "prod"
prefix: ""
dbs:
prod:
driver: "mysql"
dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s"
prefix: "edge"
models:
package: internal/web/models

1
dist/edge-api/deploy/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.zip

1
dist/edge-api/installers/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
installer-*