diff --git a/HOW-TO-GUIDE.md b/HOW-TO-GUIDE.md index 1ba2e93..edca56c 100644 --- a/HOW-TO-GUIDE.md +++ b/HOW-TO-GUIDE.md @@ -17,7 +17,7 @@ Quick reference guide for using Gitea at http://100.120.125.113:3000 to manage y ### About Your Gitea Server -- **Server URL**: http://100.120.125.113:3000 +- **Server URL: https://git.pdmarf.co.uk - **User**: pdm - **Available Repositories**: - `homelab-agents` - Shared AI agent prompts (pull-only on VPS) @@ -59,7 +59,7 @@ Cloning creates a local copy of a repository on your workstation or VPS. Use this to get the latest AI agent prompts on your VPS: ```bash -git clone http://100.120.125.113:3000/pdm/homelab-agents.git ~/.homelab-agents +git clone https://git.pdmarf.co.uk/pdm/homelab-agents.git ~/.homelab-agents ``` This creates a `~/.homelab-agents` directory with all shared agent definitions and templates. @@ -74,7 +74,7 @@ This creates a `~/.homelab-agents` directory with all shared agent definitions a Use this to get your VPS configuration repository: ```bash -git clone http://100.120.125.113:3000/pdm/vps-system-apps.git ~/projects/system-apps +git clone https://git.pdmarf.co.uk/pdm/vps-system-apps.git ~/projects/system-apps ``` This creates a `~/projects/system-apps` directory with Docker, scripts, and documentation. @@ -89,7 +89,7 @@ This creates a `~/projects/system-apps` directory with Docker, scripts, and docu For future projects, use the same pattern: ```bash -git clone http://100.120.125.113:3000/pdm/[project-name].git ~/projects/[project-name] +git clone https://git.pdmarf.co.uk/pdm/[project-name].git ~/projects/[project-name] ``` --- @@ -202,7 +202,7 @@ Delta compression using up to 4 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 456 bytes, done. Total 3 (delta 1), reused 0 (delta 0) -To http://100.120.125.113:3000/pdm/vps-system-apps.git +To https://git.pdmarf.co.uk/pdm/vps-system-apps.git abc1234..def5678 main -> main ``` @@ -217,7 +217,7 @@ To http://100.120.125.113:3000/pdm/vps-system-apps.git ```bash # Step 1: On your workstation, clone the repository # (e.g., your laptop or desktop computer) -git clone http://100.120.125.113:3000/pdm/vps-system-apps.git ~/projects/system-apps +git clone https://git.pdmarf.co.uk/pdm/vps-system-apps.git ~/projects/system-apps # Step 2: Edit files on your workstation using vim, VS Code, or any editor cd ~/projects/system-apps @@ -368,7 +368,7 @@ git pull origin main **Solution 1 - Use HTTPS with saved credentials:** ```bash git config --global credential.helper store -git clone http://100.120.125.113:3000/pdm/homelab-agents.git +git clone https://git.pdmarf.co.uk/pdm/homelab-agents.git # Enter username (pdm) and password when prompted # Credentials are saved for future use ``` @@ -395,7 +395,7 @@ curl -I http://100.120.125.113:3000 **Verify remote URL:** ```bash git remote -v -# Should show: origin http://100.120.125.113:3000/pdm/[project].git +# Should show: origin https://git.pdmarf.co.uk/pdm/[project].git ``` **Test Gitea access:** @@ -426,13 +426,13 @@ git push origin main **Solution:** ```bash # Verify correct URL format: -# http://100.120.125.113:3000/pdm/[exact-project-name].git +# https://git.pdmarf.co.uk/pdm/[exact-project-name].git # Check what repositories exist by visiting: http://100.120.125.113:3000/pdm # Update remote if needed -git remote set-url origin http://100.120.125.113:3000/pdm/correct-name.git +git remote set-url origin https://git.pdmarf.co.uk/pdm/correct-name.git ``` ### Lost changes or need to recover @@ -454,8 +454,8 @@ git reset --hard abc1234 ```bash # Cloning -git clone http://100.120.125.113:3000/pdm/homelab-agents.git ~/.homelab-agents -git clone http://100.120.125.113:3000/pdm/vps-system-apps.git ~/projects/system-apps +git clone https://git.pdmarf.co.uk/pdm/homelab-agents.git ~/.homelab-agents +git clone https://git.pdmarf.co.uk/pdm/vps-system-apps.git ~/projects/system-apps # Status and viewing changes git status # See what changed @@ -530,7 +530,7 @@ git --version git config --global -l # Test Gitea access -git clone http://100.120.125.113:3000/pdm/homelab-agents.git test-repo +git clone https://git.pdmarf.co.uk/pdm/homelab-agents.git test-repo # If successful, you're all set! rm -rf test-repo ```