2024-07-25 05:53:52 -08:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
|
|
|
|
"packages": [
|
|
|
|
"nodejs@20",
|
2024-07-27 16:42:09 -08:00
|
|
|
"ffmpeg@latest",
|
2024-08-07 11:30:29 -08:00
|
|
|
"yt-dlp@latest",
|
2024-08-07 11:31:24 -08:00
|
|
|
"python310@latest",
|
2024-09-05 21:39:08 -08:00
|
|
|
"python310Packages.pip@latest",
|
2025-01-10 19:10:04 -08:00
|
|
|
"hcloud@latest",
|
2025-01-11 04:47:23 -08:00
|
|
|
"lazydocker@latest",
|
|
|
|
"ruby@latest"
|
2024-07-25 05:53:52 -08:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"DEVBOX_COREPACK_ENABLED": "true",
|
2024-07-27 16:42:09 -08:00
|
|
|
"ENV": "development",
|
2024-08-07 11:30:29 -08:00
|
|
|
"KUBECONFIG": "$HOME/.kube/futureporn.yaml",
|
2024-08-07 11:31:24 -08:00
|
|
|
"VENV_DIR": ".venv"
|
2024-07-25 05:53:52 -08:00
|
|
|
},
|
|
|
|
"shell": {
|
|
|
|
"init_hook": [
|
2024-08-07 11:30:29 -08:00
|
|
|
"echo Welcome to Futureporn devbox",
|
|
|
|
". $VENV_DIR/bin/activate",
|
|
|
|
"pip install -r requirements.txt"
|
2024-07-25 05:53:52 -08:00
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"test": [
|
|
|
|
"echo \"Error: no test specified\" && exit 1"
|
2024-07-30 12:34:25 -08:00
|
|
|
],
|
2025-01-11 04:47:23 -08: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 05:53:52 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|