feat: add publish helper and video upload progress
This commit is contained in:
22
README.md
22
README.md
@@ -134,6 +134,28 @@ In both cases HTTP + Socket.IO is reachable at `http://<host-ip>:5000`.
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
## Publish (git tag + docker push)
|
||||
|
||||
This repo includes a small helper script to publish a version:
|
||||
|
||||
```bash
|
||||
python publish.py 1.2.3
|
||||
```
|
||||
|
||||
It will:
|
||||
|
||||
1) `git push origin <current-branch>`
|
||||
2) Create and push git tag `1.2.3`
|
||||
3) Build and push Docker images to:
|
||||
- `git.alphen.cloud/bramval/SyncPlayer:1.2.3`
|
||||
- `git.alphen.cloud/bramval/SyncPlayer:latest`
|
||||
|
||||
Dry-run:
|
||||
|
||||
```bash
|
||||
python publish.py 1.2.3 --dry-run
|
||||
```
|
||||
|
||||
Data is persisted in `./data/` on the host:
|
||||
|
||||
- `./data/syncplayer.db`
|
||||
|
||||
Reference in New Issue
Block a user