fix(deploy): run deploy-host.sh from its own checkout, any clone path
The hard-coded /home/bonamin/refusol-datalogger didn't match the real clone (repo is refusol-datalogging). README clone URL updated too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,8 +22,8 @@ Public read-only, installable on phones as an app (PWA), served at
|
||||
## Getting Started
|
||||
|
||||
```bash
|
||||
git clone https://gitea.bonamin.net/bonamin/refusol-datalogger.git
|
||||
cd refusol-datalogger
|
||||
git clone https://gitea.bonamin.net/bonamin/refusol-datalogging.git
|
||||
cd refusol-datalogging
|
||||
|
||||
cp .env.example .env # set API_KEY, SITE_LATITUDE/LONGITUDE, HTTP_PORT
|
||||
docker compose up -d --build
|
||||
@@ -34,7 +34,7 @@ proxy host `solar.bonamin.net` → `<vps>:8090` with SSL (Let's Encrypt, force
|
||||
HTTPS) — the PWA install needs HTTPS.
|
||||
|
||||
Server deploys: `deploy-host.sh` (fetch `main`, reset, `docker compose up -d --build`).
|
||||
Set `PROJECT` in it to the checkout path on the VPS.
|
||||
It works from wherever the repo is cloned.
|
||||
|
||||
To see it with fake data locally:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user