feat: add debug build command and update documentation for frontend path changes
This commit is contained in:
14
dev.sh
14
dev.sh
@@ -142,6 +142,20 @@ cmd_server() {
|
|||||||
pipenv run python main.py "$@"
|
pipenv run python main.py "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Server completo in modalità DEBUG (build senza minificazione)
|
||||||
|
cmd_server_debug() {
|
||||||
|
check_prereqs
|
||||||
|
|
||||||
|
# Rebuild sempre in modalità debug
|
||||||
|
warn "Build DEBUG forzata (no minification, con sourcemap)..."
|
||||||
|
cmd_build_debug
|
||||||
|
|
||||||
|
# Avvia backend con frontend
|
||||||
|
info "Avvio server completo in modalità DEBUG..."
|
||||||
|
cd "$BACKEND_DIR"
|
||||||
|
pipenv run python main.py "$@"
|
||||||
|
}
|
||||||
|
|
||||||
# Solo backend
|
# Solo backend
|
||||||
cmd_backend() {
|
cmd_backend() {
|
||||||
check_prereqs
|
check_prereqs
|
||||||
|
|||||||
Reference in New Issue
Block a user