-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.replit
79 lines (58 loc) · 1.37 KB
/
.replit
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
79
modules = ["python-3.11"]
[nix]
channel = "stable-24_05"
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Streamlit App"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Run Tests"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Test UI"
[[workflows.workflow]]
name = "Streamlit App"
author = "agent"
[workflows.workflow.metadata]
agentRequireRestartOnSave = false
[[workflows.workflow.tasks]]
task = "packager.installForAll"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "streamlit run main.py --server.port 80"
waitForPort = 80
[[workflows.workflow]]
name = "Run Tests"
author = "agent"
[workflows.workflow.metadata]
agentRequireRestartOnSave = false
[[workflows.workflow.tasks]]
task = "packager.installForAll"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python run_tests.py"
[[workflows.workflow]]
name = "Test UI"
author = "agent"
[workflows.workflow.metadata]
agentRequireRestartOnSave = false
[[workflows.workflow.tasks]]
task = "packager.installForAll"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python test_ui.py"
waitForPort = 3000
[deployment]
run = ["sh", "-c", "streamlit run main.py --server.port 80"]
[[ports]]
localPort = 80
externalPort = 80
[[ports]]
localPort = 3000
externalPort = 3000