Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 641 Bytes

README.md

File metadata and controls

36 lines (21 loc) · 641 Bytes

Faucet frontend

  • Frontend works well enough even without javascript
  • Only runtime javascript dependency is google's recaptcha, so maintenance can be minimal

Run

yarn
yarn dev

edit faucet-backend.toml
  web_root = "../faucet-frontend/dist"

(cd ../faucet-backend && go1.17.6 build && ./faucet-backend)

open http://localhost:8080/


# run frontend only:
yarn dev-frontend-only

Configure

See ./.env for overridable environment variables (note: overriding via .env.local or .env.development files doesn't seem to work).

Build for production

rm -r ./dist
CAPTCHA_SITE_KEY=___ yarn build