Add devcpone deploy note
This commit is contained in:
@@ -335,3 +335,35 @@ ssh one@devcpone.aplikasi.web.id "/home/one/demo_live.sh 5"
|
|||||||
```
|
```
|
||||||
|
|
||||||
Detail lengkap lihat `scripts/README.md`.
|
Detail lengkap lihat `scripts/README.md`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Catatan Deploy 2026-04-30 (devcpone)
|
||||||
|
|
||||||
|
Perubahan yang dideploy:
|
||||||
|
- Commit: `00389df`
|
||||||
|
- Scope: SSE highlight per-baris (bukan per-section) untuk `Station Status` + `Arrival List`, plus audio `pluk`.
|
||||||
|
|
||||||
|
Hasil:
|
||||||
|
- `git push origin main` sukses.
|
||||||
|
- Service `cpone-dashboard` di `devcpone` berhasil restart dan status `active (running)`.
|
||||||
|
|
||||||
|
Kendala yang terjadi:
|
||||||
|
- `make deploy` gagal di step `scp` dengan error:
|
||||||
|
- `dest open "/home/one/project/cpone-dashboard/cpone-dashboard": Failure`
|
||||||
|
|
||||||
|
Workaround yang dipakai (sukses):
|
||||||
|
```bash
|
||||||
|
cd /Users/fajrihardhitamurti/REPO_CPONE_DASHBOARD/cpone-dashboard
|
||||||
|
env GOCACHE=/tmp/cpone-gocache make build
|
||||||
|
scp cpone-dashboard-linux one@devcpone.aplikasi.web.id:/tmp/cpone-dashboard-linux
|
||||||
|
ssh one@devcpone.aplikasi.web.id '
|
||||||
|
mv /tmp/cpone-dashboard-linux /home/one/project/cpone-dashboard/cpone-dashboard &&
|
||||||
|
chmod +x /home/one/project/cpone-dashboard/cpone-dashboard &&
|
||||||
|
systemctl --user restart cpone-dashboard &&
|
||||||
|
systemctl --user --no-pager --full status cpone-dashboard | sed -n "1,18p"
|
||||||
|
'
|
||||||
|
```
|
||||||
|
|
||||||
|
Catatan tambahan:
|
||||||
|
- Di mesin lokal ini, build Go lebih stabil pakai `GOCACHE=/tmp/cpone-gocache`.
|
||||||
|
|||||||
Reference in New Issue
Block a user