# if not on correct account
npx firebase logout
npx firebase login
npx firebase deploy --only functions
# Execute once
origin=http://localhost:8080 npx ts-node src/sync-recently-played.ts
# Run the sync command every 15 minutes
while true; do origin=http://localhost:8080 npx ts-node ./src/sync-recently-played.ts; sleep 900; done;
- [] Set up alerts in some way - GCP or some free solution
- [] Create GH workflow to deploy (low prio for now)