more restructuring

This commit is contained in:
buenosairesam
2026-01-20 06:01:27 -03:00
parent e4052374db
commit a9d1e135cb
117 changed files with 87 additions and 929 deletions

View File

@@ -1,32 +0,0 @@
#!/bin/bash
# Start soleprint with Docker
#
# Usage:
# ./start.sh # Start standalone
# ./start.sh amar # Start amar
# ./start.sh -d # Detached
# ./start.sh amar -d # Start amar detached
set -e
cd "$(dirname "$0")/.."
TARGET="standalone"
ARGS=""
for arg in "$@"; do
case $arg in
-d|--detach) ARGS="$ARGS -d" ;;
--build) ARGS="$ARGS --build" ;;
*) TARGET="$arg" ;;
esac
done
GEN_DIR="gen/$TARGET"
if [ ! -d "$GEN_DIR" ]; then
echo "$GEN_DIR not found. Run ./ctrl/build.sh $TARGET first"
exit 1
fi
cd "$GEN_DIR"
docker compose up $ARGS