-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.replit
More file actions
214 lines (163 loc) · 4.21 KB
/
.replit
File metadata and controls
214 lines (163 loc) · 4.21 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
modules = ["python-3.11", "nodejs-20", "python3", "postgresql-16"]
# This builds the frontend and starts the Python backend
run = "bash -c 'cd frontend && npm install && npm run build && cd .. && python main.py'"
hidden = ["node_modules", ".pythonlibs"]
[nix]
channel = "stable-24_05"
[deployment]
run = ["python", "main.py"]
[[ports]]
localPort = 3000
externalPort = 3000
[[ports]]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 5173
externalPort = 5173
[[ports]]
localPort = 8080
externalPort = 8080
[[ports]]
localPort = 24678
externalPort = 3001
[env]
PYTHONPATH = "."
DATABASE_URL = "postgresql://neondb_owner:npg_UuYP8ajchEx1@ep-polished-smoke-a465m3uc.us-east-1.aws.neon.tech/neondb?sslmode=require"
[languages.python]
pattern = "**/*.py"
syntax = "python"
[languages.typescript]
pattern = "**/*.{ts,tsx}"
syntax = "typescript"
[languages.javascript]
pattern = "**/*.{js,jsx}"
syntax = "javascript"
[workflows]
runButton = "database setup"
[[workflows.workflow]]
name = "parallel tasks"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "API tests"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "integration tests"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "semantic API tests"
[[workflows.workflow]]
name = "test database setup"
mode = "sequential"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python tests/db_setup.py"
[[workflows.workflow]]
name = "API tests"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pytest tests/test_api.py -v"
[[workflows.workflow]]
name = "integration tests"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pytest tests/test_integration.py -v"
[[workflows.workflow]]
name = "semantic API tests"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pytest tests/test_semantic_api.py -v"
[[workflows.workflow]]
name = "test suite runner"
mode = "sequential"
author = 39844550
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "database setup"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "parallel tasks"
[[workflows.workflow]]
name = "database setup"
mode = "sequential"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 scripts/db_setup.py"
[[workflows.workflow]]
name = "run graph manager service"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 scripts/graph_manager_service.py"
[[workflows.workflow]]
name = "load API service"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "uvicorn server.app:app --host 0.0.0.0 --port 8080 --reload"
[[workflows.workflow]]
name = "run connection pool manager"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 scripts/connection_pool_manager.py"
[[workflows.workflow]]
name = "Concurrent Graph Analysis (Parallel)"
mode = "parallel"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 scripts/run_api.py"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 scripts/run_graph_manager.py"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 scripts/run_pool_manager.py"
[[workflows.workflow]]
name = "Concurrent Graph Analysis"
mode = "sequential"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python3 scripts/init_db.py"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "Concurrent Graph Analysis (Parallel)"
[[workflows.workflow]]
name = "1.1 - Build Frontend Service"
mode = "sequential"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd frontend && npm install && npm run build"
[[workflows.workflow]]
name = "1.2 - Start Backend Server"
mode = "sequential"
author = 39844550
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "python main.py"
[[workflows.workflow]]
name = "1 - Start Application "
mode = "sequential"
author = 39844550
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "1.1 - Build Frontend Service"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "1.2 - Start Backend Server"