Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I work on an existing Firebase (functions) project on a different machine?

I'm relatively new to Firebase and want to work on one Firebase Project from multiple Machines. When setting up a new Project locally via firebase CLI and attaching it to an existing Project in the cloud, there's a full project folder created in my local directory.

Is there any chance of sort of "downloading"/updating an existing project to a second machine?

The workaround I'd have chosen would be to manually copy the whole directory to the new environment and then login firebase. But this would, given the fact of missing source control, bring the risk of overwriting changes made on machine 1 yesterday, when firebase deploy from machine 2 today, wouldn't it?

Sorry for maybe not expressing myself in a decent it-guy way, but I'm far from being a full-blooded programmer.

Thanks!

like image 282
nnige Avatar asked Oct 29 '22 20:10

nnige


1 Answers

You have to manage your source code yourself, typically using a source control mechanism such as git or svn. Firebase does not provide a source control system for the code and configuration that you deploy to Cloud Functions.

like image 154
Doug Stevenson Avatar answered Jan 02 '23 21:01

Doug Stevenson