cd ~/vlaky && npm install
npx wrangler d1 create vlaky
# โ paste the printed database_id into wrangler.toml
npx wrangler d1 execute vlaky --remote --file=./migrations/0001_init.sql
# quick test sample:
npx wrangler d1 execute vlaky --remote --file=./data/seed_sample.sql
# real GTFS:
node build-d1.js gtfs.zip
npx wrangler d1 execute vlaky --remote --file=./data/seed.sql
npx wrangler secret put OPS_USER
npx wrangler secret put OPS_PASS
npx wrangler deploy