Created
November 14, 2024 23:13
-
-
Save Giovasdf/b660a412c47eaff1425ab77ddc22a5e7 to your computer and use it in GitHub Desktop.
Comandos Deploy Firebase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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