Donation portal for Noisebridge hackerspace.
curl -fsSL https://bun.sh/install | bashmacOS:
brew install watchexecLinux:
# Arch
pacman -S watchexec
# Debian/Ubuntu/Fedora — download binary from GitHub releases
curl -fsSL https://github.com/watchexec/watchexec/releases/latest/download/watchexec-*-x86_64-unknown-linux-gnu.tar.xz \
| tar -xJ --strip-components=1 -C /usr/local/bin/
# Or via cargo
cargo install watchexec-clibun install
bunx playwright install firefoxCreate a .env file in the root of the repository with the following variables:
SERVER_HOST-127.0.0.1:3000for local devDISABLE_RATE_LIMIT-truefor local dev and e2e testsSTRIPE_SECRET- Get a Stripe test key for local devSTRIPE_PORTAL_CONFIG- ID likebpc_...from./scripts/stripe-setup.tsSTRIPE_WEBHOOK_SECRET- Get fromstripe listen --forward-to localhost:3000/webhookGITHUB_CLIENT_ID- Create an OAuth app on GithubGITHUB_SECRET- Create an OAuth app on GithubGOOGLE_CLIENT_ID- Create an OAuth app in the Google Cloud ConsoleGOOGLE_SECRET- Create an OAuth app in the Google Cloud ConsoleRESEND_KEY- From https://resend.comEMAIL_SENDER- Where to send emails from (defaults toonboarding@resend.dev)COOKIE_SECRET- Randomly generated stringTOTP_SECRET- Randomly generated string
bun run stripe-setupbun run devbun run test
bun run test:e2ebun run lint:fixAGPLv3
