RepoFlow: Your Guide to Publishing Your Firebase App
Ready to share your app with the world? If you built it with a visual tool, the first step is to switch to 'Code View' (look for an icon, often in the top-right!). RepoFlow then walks you through getting your app's code onto GitHub and live with Vercel.
1. Get Your Code Ready & Tools Open
First up! If you were using a visual tool, make sure you've switched to 'Code View' (look for an icon, often in the top-right!). This guide is for when you can see all your project's files.
In your code editor (like the one in Firebase's Code View), open the Terminal (Command Line) and have your Project's File Directory visible. You'll often find the Terminal at the bottom of the code editor screen.
Time to save your app's current version. In your Terminal, type these commands one by one, pressing Enter after each:
What these commands do:
git init: Sets up Git for your project (you only do this once per project). git add .: Gets all your current project files ready to be saved. git commit -m "...": Saves a snapshot (a version) of your files with a short note about what you did.
Pro Tip:
Keep your Firebase visual prototyper open in one browser tab and your code editor (like the one in Firebase's Code View) in another. This makes it easier to see your visual design and apply changes to the code. If you have questions about the code, remember you can often chat with AI assistants (like Gemini) directly within your code editor!
Example Command(s):
git init
git add .
git commit -m "Initial version of my app"