Files
clan-core/pkgs/clan-app/process-compose.yaml
Jörg Thalheim a2bc237d79 devshells.clan-app: require less environment variables
also sort shellHook by component
2025-05-15 14:43:51 +02:00

25 lines
579 B
YAML

version: "0.5"
env_cmds:
PRJ_ROOT: "git rev-parse --show-toplevel"
processes:
webview-ui:
command: |
direnv allow
direnv exec . npm install
direnv exec . vite
ready_log_line: "VITE"
working_dir: "$PRJ_ROOT/pkgs/clan-app/webview-ui/app"
clan-app:
command: |
direnv allow
direnv exec . ./bin/clan-app --debug --content-uri http://localhost:3000
depends_on:
webview-ui:
condition: "process_log_ready"
is_foreground: true
ready_log_line: "Debug mode enabled"
working_dir: "$PRJ_ROOT/pkgs/clan-app"