-
Notifications
You must be signed in to change notification settings - Fork 47
Firebase
We use Firebase for our backend. Most contributors won't have to interact with it, since most of Wordplay can be run locally without Firebase access. But there are a few cases where you might need to. We detail these below.
If you want to be able to test things like login and gallery features that require authentication and a database, you'll also need to run the Firebase emulator:
- Install the Firebase command line tools.
- Then, run
npm run emu
to start the emulator.
Almost everything will work like it does on the live website, but some things — like logging in — will be different. Write the #contributors channel on Discord if you're stuck.
We have a few npm
scripts in package.json
that we use for staging to test.wordplay.dev
and release to wordplay.dev
. But these require permissions to access the Firebase projects, and these are restricted to our lead roles. We'll add more documentation on these as necessary.
Do you find something confusing on this page? Submit a maintenance issue, so we can improve it.