Commit Graph

11 Commits

Author SHA1 Message Date
MangoPig
0be5782d9e fix: make setup.ps1 fully non-interactive for automated deployment
- Add -NonInteractive switch parameter
- Auto-accept detected BenjaminTeam folder in non-interactive mode
- Fix SSH test to use StrictHostKeyChecking=no and ConnectTimeout
- Add try/catch for better error handling during SSH test
2026-02-13 12:03:46 +00:00
fea6996041 Merge pull request 'feat: add Windows setup and sync scripts' (#4) from opencode-agent/JingTian-Rclone:feature/windows-setup into main
Reviewed-on: http://git.mangopig.tech/Goko/JingTian-Rclone/pulls/4
2026-02-13 11:48:23 +00:00
a100463f09 docs: add rclone config template for reference 2026-02-13 11:17:28 +00:00
157599be4a feat: add Windows sync script
- Phase 1: One-way sync (Windows -> Server) for main folders
- Phase 2: Bidirectional sync using rclone bisync for _LLM_Sync
- Auto-detects rclone and BenjaminTeam folder paths
- Comprehensive logging to %LOCALAPPDATA%\JingTian\logs
- Supports verbose output with -VerboseOutput flag
2026-02-13 11:17:19 +00:00
45f2c42ea2 feat: add Windows setup script
- Checks/installs Git and rclone automatically
- Auto-detects BenjaminTeam folder or prompts user
- Copies SSH key and tests connection
- Configures rclone with SFTP remote
- Creates Windows Scheduled Task for periodic sync (default: 5 min)
2026-02-13 11:16:46 +00:00
1101f188e8 Merge pull request 'feat: fix permissions + add SSH key for Windows clients' (#3) from opencode-agent/JingTian-Rclone:feature/fix-permissions-add-key into main
Reviewed-on: http://git.mangopig.tech/Goko/JingTian-Rclone/pulls/3
2026-02-13 10:01:19 +00:00
f79712e8bd feat: add SSH private key for rclone SFTP connection
This key is generated by the Ubuntu setup script and allows
Windows clients to authenticate via SFTP to the sync server.
2026-02-13 10:00:43 +00:00
a145e82ffa fix: improve permission handling for pre-existing directories
- Create rclone-sync user BEFORE creating directories
- Use chown -R to handle pre-existing directories from repo clone
- Add ownership verification output
- Support optional PUBLIC_IP argument for connection details
2026-02-13 10:00:28 +00:00
1df22c2db2 Merge pull request 'feat: add Ubuntu server setup script' (#1) from opencode-agent/JingTian-Rclone:feature/ubuntu-setup into main
Reviewed-on: http://git.mangopig.tech/Goko/JingTian-Rclone/pulls/1
2026-02-13 09:45:28 +00:00
7c671569b4 feat: add Ubuntu server setup script
- Creates /data/jingtian/BenjaminTeam directory structure
- Creates dedicated rclone-sync user for SFTP access
- Generates ed25519 SSH key pair for Windows clients
- Installs rclone on the server
- Outputs private key for embedding in Windows setup
2026-02-13 09:44:34 +00:00
83c45e1e97 Initial commit 2026-02-13 08:56:14 +00:00