Skip to main content

Firebase

To deploy the frontend part of a Sui dApp Starter project to Firebase, do the following:

1. Install Firebase Tools

pnpm add -g firebase-tools

2. Create a new project on Firebase

Login to Firebase Console and create a new empty project.

3. Init your project

pnpm frontend:deploy:firebase:init
  1. You will be asked to Login to Firebase.
  2. Then select your newly created Firebase project from the list.
  3. Once you're asked for a project alias, enter default.

4. Deploy to Firebase

pnpm frontend:deploy:firebase