-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
65 lines (50 loc) · 1.2 KB
/
.replit
File metadata and controls
65 lines (50 loc) · 1.2 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
modules = ["nodejs-20", "python-3.12", "web"]
[agent]
expertMode = true
stack = "BEST_EFFORT_FALLBACK"
[nix]
channel = "stable-25_05"
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Start application"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Backend API"
[[workflows.workflow]]
name = "Start application"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd frontend && npm run dev"
waitForPort = 5000
[workflows.workflow.metadata]
outputType = "webview"
[[workflows.workflow]]
name = "Backend API"
author = "agent"
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "uvicorn app.main:app --host localhost --port 8000 --reload"
waitForPort = 8000
[[ports]]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 5001
externalPort = 3000
[[ports]]
localPort = 8000
externalPort = 8000
exposeLocalhost = true
[deployment]
deploymentTarget = "autoscale"
run = ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "5000"]
build = ["bash", "-c", "cd frontend && npm install && npm run build"]