Files
proof-of-work/start9/0.3.5/DEPLOY_035.md
T
2026-02-28 09:27:26 -06:00

33 lines
967 B
Markdown

# Deploy on StartOS 0.3.5 (Raspberry Pi)
## 1) Build package on your Mac
```bash
cd /Users/macpro/Projects/Workout-log
make -C start9/0.3.5 package
```
This creates:
- `start9/0.3.5/image.tar`
- `start9/0.3.5/workout-log.s9pk`
## 2) Upload package to StartOS
1. Open the StartOS web UI.
2. Go to Services -> Sideload Package (0.3.5 menu naming may vary).
3. Upload `workout-log.s9pk`.
4. Install and start the service.
## 3) First run
1. Open the service UI.
2. Log in with `admin@local` / `workout123`.
3. Change password and run one manual backup.
## 4) Data persistence contract
- App DB path: `/data/app.db`
Because this lives in the persistent service volume, restarts and wrapper upgrades should not erase data.
## 5) Preparing for StartOS 0.4.0 migration
1. Run a StartOS backup before migration.
2. Keep `/data/app.db` contract unchanged in the future 0.4 wrapper.
3. Preserve package id (`workout-log`) when possible to simplify migration continuity.