2024-07-25 13:53:52 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
|
|
|
|
"packages": [
|
|
|
|
"nodejs@20",
|
2024-07-28 00:42:09 +00:00
|
|
|
"ffmpeg@latest",
|
2024-08-07 19:30:29 +00:00
|
|
|
"yt-dlp@latest",
|
2024-08-07 19:31:24 +00:00
|
|
|
"python310@latest",
|
2024-09-06 05:39:08 +00:00
|
|
|
"python310Packages.pip@latest",
|
2025-01-11 03:10:04 +00:00
|
|
|
"hcloud@latest",
|
2025-01-11 12:47:23 +00:00
|
|
|
"lazydocker@latest",
|
|
|
|
"ruby@latest"
|
2024-07-25 13:53:52 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"DEVBOX_COREPACK_ENABLED": "true",
|
2024-07-28 00:42:09 +00:00
|
|
|
"ENV": "development",
|
2024-08-07 19:30:29 +00:00
|
|
|
"KUBECONFIG": "$HOME/.kube/futureporn.yaml",
|
2024-08-07 19:31:24 +00:00
|
|
|
"VENV_DIR": ".venv"
|
2024-07-25 13:53:52 +00:00
|
|
|
},
|
|
|
|
"shell": {
|
|
|
|
"init_hook": [
|
2024-08-07 19:30:29 +00:00
|
|
|
"echo Welcome to Futureporn devbox",
|
|
|
|
". $VENV_DIR/bin/activate",
|
|
|
|
"pip install -r requirements.txt"
|
2024-07-25 13:53:52 +00:00
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
|
|
|
"echo \"Error: no test specified\" && exit 1"
|
2024-07-30 20:34:25 +00:00
|
|
|
],
|
2025-01-11 12:47:23 +00:00
|
|
|
"backup": "docker exec -t postgres_db pg_dumpall -c -U postgres > ./backups/dev_`date +%Y-%m-%d_%H_%M_%S`.sql"
|
2024-07-25 13:53:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|