Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.24 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.24 KB

each of the functions in the below are parallel functions / and are logically seperate below

local

have java installed, it will run a local mirror so you can test.

brew install java
# with firebase CLI
firebase emulators:start

NOTE for typescript, yoo need to have npm run build:watch running in the typescript directory in order for it to run. We can create a shell-script to skip this in the future where that will be the entry point to orchestrate this.

deploy

# deploy all
# firebase deploy --only functions
# firebase deploy --only functions:api-router
# firebase deploy --only functions:generate-thumbnail

Database

creating and configuring a database for us to access

# creating a database instance for dev
firebase init database
firebase database:instances:create dev
firebase functions:config:set database.url="https://scl-scavengerhunt.firebaseio.com"

## helpful functions
firebase functions:list
firebase database:instances:list


## check instance here for example