Skip to content

Commit

Permalink
Update README_DEPLOYMENT.md with visitor count info
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan authored Nov 11, 2024
1 parent f0e4699 commit b3f275d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README_DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ sudo sqlite3 docker_volume/predicTCR.db
sqlite> UPDATE user SET is_admin=true WHERE email='[email protected]';
sqlite> .quit
```
### Visitor count

To get a count of the unique visitor IPs from the nginx logs:
```
sudo docker compose logs frontend --no-log-prefix | grep "GET" | awk '{print $1}' | sort | uniq | wc -l
```

0 comments on commit b3f275d

Please sign in to comment.