refactor: read templates from local files

This commit is contained in:
2025-08-17 05:32:26 -03:00
parent 2dd0edbd49
commit b5d2ddf23b
19 changed files with 289 additions and 144 deletions

View File

@@ -13,13 +13,9 @@ if [ ! -d "$TARGET_DIR" ]; then
git clone "$REPO_URL" "$TARGET_DIR"
fi
cd "$TARGET_DIR" || exit 1
cd "$TARGET_DIR/src" || exit 1
echo "[ INITIALIZER ]: Starting initialization"
echo "[ INITIALIZER ]: Updating server"
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y
echo "[ INITIALIZER ]: Server updated. Starting set up"
chmod +x ./install.sh
./install.sh "$1"