add git credential helper and docker compose

This commit is contained in:
Bruno Eckhardt committed 2026-07-14 14:27:55 +02:00
1 parent 9bf13b6dbe
commit 98e935df72
1 file changed
+12 -4
+12 -4
View File
@@ -32,8 +32,16 @@ if [[ "$EUID" -ne 0 ]]; then
exit 1
fi
git clone https://gitea.mrhossa.de/bruno/Backend.git $BASE_DIR/BACKEND
git -C $BASE_DIR/BACKEND checkout live
# docker restart webserver_backend
read -p "Git Username: " GIT_USERNAME
read -p "Git Email: " GIT_EMAIL
git clone https://gitea.mrhossa.de/bruno/Web-Public.git $BASE_DIR/PUBLIC
git config --global credential.helper store
git config --global user.name "$GIT_USERNAME"
git config --global user.email "$GIT_EMAIL"
git clone https://gitea.mrhossa.de/bruno/Backend.git $BASE_DIR/BACKEND
git -C $BASE_DIR/BACKEND checkout dev
git clone https://gitea.mrhossa.de/bruno/Web-Public.git $BASE_DIR/PUBLIC
docker compose -f docker-compose.yml up -d --build