firebase-functions-test
No description available.
File Explorer
Download Latest Version (.zip)- test.yaml
- CONTRIBUTING.md
- ISSUE_TEMPLATE.md
- PULL_REQUEST_TEMPLATE.md
- cloudbuild.yaml
- deploy_key.enc
- hub.enc
- npmrc.enc
- cloudbuild.yaml
- Dockerfile
- publish.sh
- tweet.js
- generate.ts
- firestore.spec.ts
- database.spec.ts
- firestore.spec.ts
- https.spec.ts
- scheduled.spec.ts
- app.spec.ts
- index.spec.ts
- lifecycle.spec.ts
- main.spec.ts
- secretmanager.spec.ts
- v2.spec.ts
- alerts-on-alert-published.ts
- app-distribution-on-new-tester-ios-device-published.ts
- billing-on-plan-automated-update-published.ts
- billing-on-plan-update-published.ts
- crashlytics-on-new-anr-issue-published.ts
- crashlytics-on-new-fatal-issue-published.ts
- crashlytics-on-new-nonfatal-issue-published.ts
- crashlytics-on-regression-alert-published.ts
- crashlytics-on-stability-digest-published.ts
- crashlytics-on-velocity-alert-published.ts
- performance-on-threshold-alert-published.ts
- database-on-value-created.ts
- database-on-value-deleted.ts
- database-on-value-updated.ts
- database-on-value-written.ts
- helpers.ts
- index.ts
- eventarc-on-custom-event-published.ts
- firestore-on-document-created-with-auth-context.ts
- firestore-on-document-created.ts
- firestore-on-document-deleted-with-auth-context.ts
- firestore-on-document-deleted.ts
- firestore-on-document-updated-with-auth-context.ts
- firestore-on-document-updated.ts
- firestore-on-document-written-with-auth-context.ts
- firestore-on-document-written.ts
- helpers.ts
- index.ts
- pubsub-on-message-published.ts
- remote-config-on-config-updated.ts
- index.ts
- storage-data.ts
- test-lab-on-test-matrix-completed.ts
- helpers.ts
- partials.ts
- generate.ts
- types.ts
- analytics.ts
- auth.ts
- database.ts
- firestore.ts
- pubsub.ts
- storage.ts
- app.ts
- features.ts
- index.ts
- lifecycle.ts
- main.ts
- secretManager.ts
- v1.ts
- v2.ts
- .eslintrc.json
- .gitignore
- .npmignore
- .prettierrc
- CHANGELOG.md
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- tsconfig.release.json
# Installation Guide
1. Get the code
git clone https://github.com/firebase/firebase-functions-test
Downloads the entire project code from GitHub to your computer.
cd firebase-functions-test
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
docker build -f scripts/publish-container/Dockerfile -t firebase-functions-test .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 firebase-functions-test
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
