Skip to content

Instantly share code, notes, and snippets.

@bansalayush
Last active August 25, 2021 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bansalayush/f96c7342c89bb5f2bf6ccfc09acfe548 to your computer and use it in GitHub Desktop.
Save bansalayush/f96c7342c89bb5f2bf6ccfc09acfe548 to your computer and use it in GitHub Desktop.
Hosting a website on firebase
Hosting a website on firebase
Go to project dir
- <b>npm install -g firebase-tools</b>
- <b>firebase login</b>
- Login successfully before executing any other command
- <b>firebase init</b>
- Select hosting feature and github deploy actions
- Procceed
- Select a Project where this will be deployed
- Test website on local machine with firebase serve
- Deploy using <b>firebase deploy</b>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment