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:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user