Sign-in page rewritten for non-technical students: Google-first when configured, plain-language email path with honest 30-day scope, recovery note, placeholders, full-width CTA. deploy/termux-start.sh sources .env for GOOGLE_* credentials; deploy/env.example documents the 5-minute Cloud Console setup; .gitignore covers secrets, DBs, pid/log files. bench scripts send a browser UA so Cloudflare bot checks stop 403ing local load tests. Landing bank counts cached 60s (five aggregate subselects no longer run per hit). gzip compression on all responses.
13 lines
639 B
Text
13 lines
639 B
Text
# Copy to .env next to the binary (repo root on the host) and fill in.
|
|
# The start script sources this file; it is git-ignored, never committed.
|
|
#
|
|
# How to get these (5 minutes, needs a Google account):
|
|
# 1. Open https://console.cloud.google.com/apis/credentials
|
|
# 2. Create Credentials -> OAuth client ID -> Web application.
|
|
# 3. Under "Authorised JavaScript origins" add exactly:
|
|
# https://whaleprep.oiupoyt.space
|
|
# Under "Authorised redirect URIs" add exactly:
|
|
# https://whaleprep.oiupoyt.space/student/google/callback
|
|
# 4. Paste the client ID and secret below, restart the service.
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|