Space Area


Firebase Deployement

Step 1 - Install node js LTS Version ( Download From Here , And don't check chocolaty while install)
Step 2 - Install firebase-tools ( Open cmd , And Type-  npm install -g firebase-tools , Type- firebase to check its working or not)
Step 3 - create firebase account ( Create Firebase Account , Give Project Name & Site Name while setup)
Step 4 - Login to firebase from cmd ( Open cmd , And Type- firebase login , then Type- y , simply exit)
Step 5 - Create a folder , open cmd in that certain folder 
  • Type- firebase init  
  • Type-
  • Select- hosting  : configure and dep ... ... ( Use Arrow keys to go up & down , Use SpaceBar to select , Use  Enter to proceed selected option)
  • Select- Use an exsisting project ( By pressing Enter)
  • (public)- Enter
  • yes/no- type y
  • Connet to github - type n
  • Sucessful
Step 5 - Copy your website files to this created folder ( .../public/)
Step 6 - Again open cmd on that folder ( not in -/public ) and Type- firebase deploy , and done
Step 7 - If you make any change to your website files, just open cmd in that folder again and and again Type- firebase deploy 

No comments

Powered by Blogger.