Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d99d4f3
add infra/auth changes
skyeslattery Nov 20, 2025
7c0ba67
add missing files
skyeslattery Nov 20, 2025
1166116
fix merge issues
skyeslattery Nov 20, 2025
c88af6e
add time helper
skyeslattery Nov 20, 2025
8f1c039
switch to /users
skyeslattery Nov 20, 2025
f6cf91c
update to new jwt auth
skyeslattery Nov 20, 2025
d6005c0
rebase
skyeslattery Nov 20, 2025
bdd8bcc
resolve PR comments and adjust announcements to scrape correctly.
skyeslattery Jan 21, 2026
235f6fc
Edited docker compose and env example
JoshD94 Feb 19, 2026
f50d2f2
resolve merge conflicts
skyeslattery Feb 22, 2026
7d43e67
Merge pull request #7 from cuappdev/skye/notifications-infra
skyeslattery Feb 22, 2026
bb2a44b
fix package lock error
skyeslattery Feb 22, 2026
76fdece
Merge pull request #18 from cuappdev/skye/notifications-infra
skyeslattery Feb 22, 2026
cc77a0a
Add cbord url to env
JoshD94 Feb 23, 2026
7183829
Fix empty menus
yufanhao Feb 25, 2026
6dd3d87
Merge pull request #19 from cuappdev/fanhao/scraper
yufanhao Feb 25, 2026
9c781b7
Fix package lock
yufanhao Feb 26, 2026
06e007f
eateryController type fix
yufanhao Feb 26, 2026
6d9d4fd
update docker-compose
yufanhao Feb 26, 2026
a5cdf68
fix favoriting eateries
skyeslattery Feb 26, 2026
2b2d68b
Merge branch 'main' into skye/favorite-eatery-fix
skyeslattery Feb 26, 2026
10b6384
Merge pull request #20 from cuappdev/skye/favorite-eatery-fix
skyeslattery Feb 26, 2026
9fda3a1
Fix days query (filter by EST instead of UTC)
yufanhao Feb 27, 2026
46b7b07
Update deploy-prod.yml
MrPeterss Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Scraper
CORNELL_DINING_API_URL=
SCRAPER_CRON_SCHEDULE=0 */2 * * *
WORKERS=
GOOGLE_SHEETS_API_KEY=
FREEDGE_SHEET_ID=
Expand Down Expand Up @@ -29,3 +30,5 @@ FIREBASE_SERVICE_ACCOUNT_PATH=./firebase-service-account.json
PRISMA_LOG_QUERIES=true
PRISMA_LOG_ERRORS=true
PRISMA_LOG_WARNINGS=true

CBORD_BASE_URL=
6 changes: 3 additions & 3 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
script: |
export IMAGE_TAG=${{ steps.vars.outputs.sha_short }}
cd docker-compose
docker stack rm thestack
docker-compose down
sleep 20s
docker stack deploy -c docker-compose.yml thestack
yes | docker system prune -a
docker-compose up -d
yes | docker system prune -a
23 changes: 10 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,28 @@ version: '3.8'

services:
app:
image: cornellappdev/eatery-blue-dev:${IMAGE_TAG}
image: cornellappdev/eatery-prod:${IMAGE_TAG}
command: >
sh -c "npx prisma db push && npm run start"
configs:
- source: firebase_service_account
target: /app/firebase-service-account.json
volumes:
- ./firebase-service-account.json:/app/firebase-service-account.json
env_file: .env
networks:
- eatery-network
eatery-network:
aliases:
- app
ports:
- "8000:8000"
- '127.0.0.1:8000:8000'
depends_on:
- scraper

scraper:
image: cornellappdev/eatery-blue-dev:${IMAGE_TAG}
image: cornellappdev/eatery-prod:${IMAGE_TAG}
env_file: .env
networks:
- eatery-network
command: ["sh", "-c", "npx prisma migrate deploy && npm run scrape:scheduled"]
command:
['sh', '-c', 'npx prisma migrate deploy && npm run scrape:scheduled']

networks:
eatery-network:
driver: overlay

configs:
firebase_service_account:
file: ./firebase-service-account.json
Loading