Files
photo-req/README.md
T
2026-05-10 21:10:24 +09:00

40 lines
764 B
Markdown

# Photo Request Service
Single-container upload request service for `photoreq.mokaya.org`.
## Run
```sh
sudo ./build.sh
sudo ./run.sh
```
## Stop
```sh
sudo ./stop.sh
```
## Continuous Deployment
`cd-watch.sh` checks `origin/main` and runs `deploy.sh` when the remote revision changes.
```sh
sudo ./cd-watch.sh
```
The server cron runs this once per minute.
## Paths
- App: `/volume2/homes/whitekomani/photo-request-service`
- Config: `.env`
- DB: `data/db.json`
- Deploy log: `data/deploy.log`
- Uploads: `/volume2/AKA Drive/사진 받기`
- Upload page template: `src/public/upload.html`
- Upload page style: `src/public/upload.css`
- Upload page image: `src/public/wedding-poster.png`
Each request creates its own folder under the upload directory.