Add safe deploy script preserving data directory
This commit is contained in:
10
README.md
10
README.md
@@ -148,6 +148,16 @@ Requirements for full functionality:
|
||||
- Nginx or Apache (for `/s/` short URL rewrites)
|
||||
- Writable `data/` directory
|
||||
|
||||
### Production Deploy (Safe)
|
||||
|
||||
Use the provided deploy script to avoid deleting runtime files in `data/`:
|
||||
|
||||
```bash
|
||||
./scripts/deploy.sh
|
||||
```
|
||||
|
||||
This script deploys with `rsync --delete` but explicitly excludes `data/`.
|
||||
|
||||
---
|
||||
|
||||
## Security
|
||||
|
||||
Reference in New Issue
Block a user