Step 1: Goto https://console.firebase.google.com/
Step 2: create a new project and choose a project name (Note: your URL will be of the form https://<project_name>.firebaseapp.com
Step 3: Install the Firebase tools on your computer by following the instructions here: https://firebase.google.com/docs/cli/
Step 4: Login to your account and authorise
firebase login
Step 5: To initialize Firebase, go to your project directory and type:
firebase init
Step 6: Then to deploy your project live, type the following:
firebase deploy --project <project_name>
After any updates on your local machine, you must re-deploy your project
I've discovered that I had a folder in my project structure called "images". For some reason, this seems to be a reserved name. I had to change the name to "graphics" to get my project to load images from this folder.
Firebase keeps previous deployments so you can roll back. Make sure you cleanup the ones you don't need.
No comments:
Post a Comment