Skip to content

Commit

Permalink
chore: Initialize git repository and add remote origin
Browse files Browse the repository at this point in the history
  • Loading branch information
codeperfectplus committed Aug 30, 2024
1 parent 70da649 commit e7954ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ if ! pgrep -f "flask run --host=0.0.0.0 --port=$FLASK_PORT" > /dev/null; then
# git pull in FLASK_APP_PATH directory
current_dir=$(pwd)
cd "$PROJECT_DIR"
git init
git remote add origin https://github.com/codeperfectplus/SystemGuard.git
if ! git pull; then
log_message "Failed to pull updates from Git repository."
cd "$current_dir"
Expand Down

0 comments on commit e7954ab

Please sign in to comment.