Skip to content

Instantly share code, notes, and snippets.

@Giovasdf
Created November 14, 2024 23:13
Show Gist options
  • Select an option

  • Save Giovasdf/b660a412c47eaff1425ab77ddc22a5e7 to your computer and use it in GitHub Desktop.

Select an option

Save Giovasdf/b660a412c47eaff1425ab77ddc22a5e7 to your computer and use it in GitHub Desktop.
Comandos Deploy Firebase
Instalar
-npm install -g firebase-tools
Hacer build
-npm run build
logearse en firebase
firebase login
Y
Iniciar Deploy
firebase init hosting
Use an existing project
Elegir proyecto de firebase
? What do you want to use as your public directory? dist
? Configure as a single-page app (rewrite all urls to /index.html)? Yes
? Set up automatic builds and deploys with GitHub? No
? File dist/index.html already exists. Overwrite? No
i Skipping write of dist/index.html
i Writing configuration info to firebase.json...
i Writing project information to .firebaserc...
✔ Firebase initialization complete!
Firebase deploy
--HACER CAMBIOS
npm run build
firebase deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment