feat: admin URL 쉽게 접근 - show-urls.sh + admin 내부 링크

- show-urls.sh: localhost + LAN IP 포함 모든 URL 출력 (참가자/어드민/시상식)
- admin 페이지에 다른 페이지 URL expander 추가 (ceremony 링크 클릭 가능)
- README에 사용법 추가

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
th-kim0823
2026-04-26 18:35:15 +09:00
parent 6e517be918
commit 067e25116a
3 changed files with 60 additions and 0 deletions

View File

@@ -30,10 +30,20 @@ docker compose down
## URL
```bash
./show-urls.sh # localhost + LAN IP 포함 모든 URL 출력
```
- 투표: `http://<서버>:8501/`
- 어드민: `http://<서버>:8501/?mode=admin&token=<TOKEN>`
- 시상식: `http://<서버>:8501/?mode=ceremony&token=<TOKEN>`
macOS 빠른 열기:
```bash
TOKEN=$(grep ADMIN_TOKEN .env | cut -d= -f2)
open "http://localhost:8501/?mode=admin&token=${TOKEN}"
```
## 데이터 파일 — `hackathon.json`
```json