forked from gyc567/agentrade
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
52 lines (40 loc) · 1007 Bytes
/
.replit
File metadata and controls
52 lines (40 loc) · 1007 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
modules = ["nodejs-20", "go-1.21", "bash", "web", "postgresql-16"]
[agent]
expertMode = true
[nix]
channel = "stable-25_05"
packages = ["gcc"]
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "fullstack-app"
[[workflows.workflow]]
name = "fullstack-app"
author = "agent"
[workflows.workflow.metadata]
outputType = "webview"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "bash -c \"go build -o nofx-backend . && ((./nofx-backend 2>&1 | sed 's/^/[BACKEND] /') & (cd web && npm run dev 2>&1 | sed 's/^/[FRONTEND] /'))\""
waitForPort = 5000
[[ports]]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 5001
externalPort = 3000
[[ports]]
localPort = 8080
externalPort = 8080
[[ports]]
localPort = 9999
externalPort = 3001
[deployment]
deploymentTarget = "autoscale"
run = ["bash", "-c", "PORT=5000 ./nofx-backend"]
build = ["go", "build", "-o", "nofx-backend", "."]