Add Linux deploy script
This commit is contained in:
10
README.md
10
README.md
@@ -190,6 +190,16 @@ VS Code launch profiles in `.vscode/launch.json`:
|
||||
- `RpgRoller: Server + Edge (F5)`
|
||||
- `RpgRoller: Server + Firefox (F5)`
|
||||
|
||||
## Deployment
|
||||
|
||||
Deploy to the Linux server with:
|
||||
|
||||
```bash
|
||||
bash ./scripts/deploy.sh
|
||||
```
|
||||
|
||||
The script publishes the app locally, uploads a release to `/root/docker/rpgroller/releases/<UTC timestamp>`, updates `/root/docker/rpgroller/current`, rebuilds the `rpgroller` image, and recreates the `rpgroller` container. The SQLite database is preserved because the container keeps using the existing bind mount at `/root/docker/rpgroller/data`.
|
||||
|
||||
Environment overrides:
|
||||
|
||||
- Set `ConnectionStrings__RpgRoller` to point at a custom SQLite database.
|
||||
|
||||
Reference in New Issue
Block a user