-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdevbox.json
40 lines (40 loc) · 996 Bytes
/
devbox.json
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
{
"packages": [
"nodejs@latest",
"poetry@latest",
"python3@latest",
"nodePackages.pnpm@latest"
],
"env": {
"DEVBOX_PYPROJECT_DIR": "$PWD/agent-extended"
},
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"keycloak": [
"docker-compose up keycloak"
],
"agent": [
"cd agent-extended && poetry run python -m gpt_agent 1"
],
"browser": [
"pnpm --dir browser-extension dev"
],
"install": [
"pnpm --dir browser-extension install",
"cd agent-extended",
"poetry install",
"[ -e '.env' ] || (cp sample.env .env && echo '.env file has been created, PLEASE CHECK THAT ALL PROPERTIES ARE PROPERLY SET!')"
],
"build": [
"cd browser-extension",
"pnpm build",
"cd dist",
"[ ! -e browser-copilot.zip ] || rm browser-copilot.zip",
"zip -r browser-copilot.zip *"
]
}
}
}