Docs: Add non-git deployment workflow for wget/extract users
- Document workflow for servers without git installed - Explain that cache files are never in download archives - Provide --clear-cache command for in-place updates - Makes cache management clear for non-git deployments
This commit is contained in:
@@ -197,6 +197,24 @@ Now when you pull:
|
|||||||
|
|
||||||
## Recommended Workflow
|
## Recommended Workflow
|
||||||
|
|
||||||
|
### Non-Git Deployment (wget/extract without git)
|
||||||
|
```bash
|
||||||
|
# 1. Download and extract fresh code
|
||||||
|
wget https://your-repo-url/archive.tar.gz
|
||||||
|
tar -xzf archive.tar.gz
|
||||||
|
|
||||||
|
# 2. If updating in same directory, clear old cache
|
||||||
|
bash launcher.sh --clear-cache
|
||||||
|
|
||||||
|
# 3. Run fresh detection
|
||||||
|
bash launcher.sh --detect-only
|
||||||
|
|
||||||
|
# 4. Run normally
|
||||||
|
bash launcher.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note**: Cache files are NOT included in download archives (excluded via .gitignore), so fresh extracts always start clean.
|
||||||
|
|
||||||
### Fresh Deployment (First Clone or Migration)
|
### Fresh Deployment (First Clone or Migration)
|
||||||
```bash
|
```bash
|
||||||
# 1. Clone or navigate to toolkit directory
|
# 1. Clone or navigate to toolkit directory
|
||||||
|
|||||||
Reference in New Issue
Block a user