-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
78 lines (59 loc) · 1.54 KB
/
.replit
File metadata and controls
78 lines (59 loc) · 1.54 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
modules = ["nodejs-20", "postgresql-16"]
[agent]
expertMode = true
[nix]
channel = "stable-25_05"
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Production Build"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "ProofPoll Lite Server"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Production Server"
[[workflows.workflow]]
name = "Production Build"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "npx next build"
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow]]
name = "ProofPoll Lite Server"
author = "agent"
[workflows.workflow.metadata]
outputType = "webview"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "bash -lc 'rm -rf .next .turbo node_modules/.cache && NEXT_DISABLE_FILE_SYSTEM_CACHE=1 NEXT_TELEMETRY_DISABLED=1 TURBOPACK=1 npx prisma generate && npx next dev --port 5000'"
waitForPort = 5000
[[workflows.workflow]]
name = "Production Server"
author = "agent"
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "npx next build && npx prisma generate && npx next start -p 5001"
waitForPort = 5001
[[ports]]
localPort = 3000
externalPort = 3001
[[ports]]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 5001
externalPort = 3000
[deployment]
build = ["sh", "-c", "npx next build"]
run = ["sh", "-c", "npx prisma generate && npx next start -p 5000"]
deploymentTarget = "cloudrun"