-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
72 lines (55 loc) · 1.59 KB
/
.replit
File metadata and controls
72 lines (55 loc) · 1.59 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
modules = ["web", "nodejs-20", "python-3.11"]
[nix]
channel = "stable-25_05"
packages = ["libxcrypt"]
[agent]
expertMode = true
integrations = ["javascript_openai:1.0.0", "python_openai:1.0.0", "javascript_database:1.0.0", "python_database:1.0.0"]
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Backend"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Frontend"
[[workflows.workflow]]
name = "Backend"
author = "agent"
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd backend && uvicorn main:app --host 0.0.0.0 --port 8000 --reload"
waitForPort = 8000
[[workflows.workflow]]
name = "Frontend"
author = "agent"
mode = "sequential"
[workflows.workflow.metadata]
outputType = "webview"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd frontend && npm run dev"
waitForPort = 5000
[[workflows.workflow]]
name = "Full Stack"
author = 47753375
mode = "parallel"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd backend && python -m uvicorn main:app --host 0.0.0.0 --port 8000 --reload"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd frontend && npm install && npm run dev -- --host 0.0.0.0 --port 5173"
[[ports]]
localPort = 5000
externalPort = 80
[deployment]
deploymentTarget = "vm"
run = ["bash", "-c", "cd backend && uvicorn main:app --host localhost --port 8000 & cd frontend && npm run build && npx serve -s dist -l 5000"]
build = ["bash", "-c", "cd frontend && npm run build"]