Firebase How-to Article

For more in-depth go here: https://codelabs.developers.google.com/codelabs/firebase-web/#0

  1. Create a folder with your name in “User Data” in the C drive
  2. Download Friendly Chat off of Github: https://github.com/firebase/friendlychat
  3. Create a notepad and name it “run-this-first.bat” then put in set PATH = %PATH%;”C:\User Data\Your Name\node-v6.10.2-win-x64″set NPM_CONFIG_PREFIX=C:\.npm-global. Save it to your folder with the friendly chat master in it.
  4. Everything you need for the app to work should be in the folder web-start
  5. Use brackets to edit the main.js for all the main parts of the app (should be in the folder scripts)
  6. Use command prompt to test the code the default line your should have is C:\User Data\Your Folder\friendlychat-master\web-start\node_modules\.bin>
  7. Use dir to look into a folder and use cd to change the place your going to
  8. start off test Firebase version, if that doesn’t work you did something wrong then do Firebase use –add, and after that Firebase login.
  9. After you do all that and your successful with it then type Firebase serve. In your browser search localhost:5000
  10. Set up all your sign-in options and sending images like it says in the firebase document.
  11. After all that is completed final step is Firebase deploy. This deploys the app on the internet and everyone is able to use it. It should give you the link of where you need to go to find it.
  12. After all that you are finally done with your chatroom app.