fix stuff finally?
This commit is contained in:
parent
1b141b200c
commit
4edef5ac1a
3 changed files with 5 additions and 1 deletions
0
build.sh
Executable file → Normal file
0
build.sh
Executable file → Normal file
|
|
@ -84,6 +84,8 @@ build_volume_args() {
|
||||||
# ─── Commands ─────────────────────────────────────────────────────────────────
|
# ─── Commands ─────────────────────────────────────────────────────────────────
|
||||||
cmd_start() {
|
cmd_start() {
|
||||||
check_deps; load_env; build_volume_args
|
check_deps; load_env; build_volume_args
|
||||||
|
info "Pulling latest images..."
|
||||||
|
dc pull
|
||||||
info "Starting proxy sidecar..."
|
info "Starting proxy sidecar..."
|
||||||
dc up -d proxy
|
dc up -d proxy
|
||||||
info "Launching Claude Code..."
|
info "Launching Claude Code..."
|
||||||
|
|
@ -123,6 +125,8 @@ cmd_web() {
|
||||||
check_deps; load_env
|
check_deps; load_env
|
||||||
[[ -n "${WEBUI_PASSWORD:-}" ]] \
|
[[ -n "${WEBUI_PASSWORD:-}" ]] \
|
||||||
|| { error "WEBUI_PASSWORD is not set. Add it to .env before starting the web interface."; exit 1; }
|
|| { error "WEBUI_PASSWORD is not set. Add it to .env before starting the web interface."; exit 1; }
|
||||||
|
info "Pulling latest images..."
|
||||||
|
dc pull
|
||||||
info "Starting proxy and web interface..."
|
info "Starting proxy and web interface..."
|
||||||
dc up -d webui
|
dc up -d webui
|
||||||
info "Web interface is up → http://0.0.0.0:7681"
|
info "Web interface is up → http://0.0.0.0:7681"
|
||||||
|
|
|
||||||
2
hooks/pre-commit
Executable file → Normal file
2
hooks/pre-commit
Executable file → Normal file
|
|
@ -2,7 +2,7 @@
|
||||||
# Ensure control scripts stay executable.
|
# Ensure control scripts stay executable.
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
SCRIPTS=(claude.sh build.sh)
|
SCRIPTS=(claude.sh build.sh hooks/pre-commit)
|
||||||
|
|
||||||
for f in "${SCRIPTS[@]}"; do
|
for f in "${SCRIPTS[@]}"; do
|
||||||
if [[ -f "$f" && ! -x "$f" ]]; then
|
if [[ -f "$f" && ! -x "$f" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue