How to deploy a Gatsby Static Website to Google Firebase

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 19

  • @sempribo
    @sempribo 3 года назад

    Awesome video! Very clear instructions.

  • @eltonsantos8804
    @eltonsantos8804 4 года назад

    Professor, boa tarde! Muito obrigado por mais esse excelente conteúdo! Parabéns

  • @timothydillan4062
    @timothydillan4062 4 года назад

    Hey! Thanks for the great tutorial. I have a question though, does deploying your site reduces the quality of an image? I've uploaded my site and the images look horrible......

    • @ADesignerWhoCodes
      @ADesignerWhoCodes  4 года назад

      I haven’t seen a degradation too much. I have found that at times an already heavily artifact image can get compounded if I lower the quality with Gatsby Image. But not to the point where I would say it’s “horrible”.
      Double check image size and make sure images aren’t being up-rez’d too high.

  • @eltonsantos8804
    @eltonsantos8804 4 года назад

    Hi Teacher! I´m tryng to deploy my website (gatsby) around two weeks and I´m not getting. I write the commad: npm install -g firebase-tool and firebase login:ci --interactive and do the authentication trough out my gmail (those work), but when I decide to write the command: firebase init hosting warming: Error: Failed to authenticate, have you run firebase login? I don´t know what to do :(

    • @ADesignerWhoCodes
      @ADesignerWhoCodes  4 года назад

      Try doing a Google search on the error message. Google's documentation is damn good. I give them props for that. I haven't hit that error message so I don't know the exact route back to where it would work.
      Also looking at starting a closed member group somewhere so other A Designer Who Codes peeps can share knowledge. When I get that setup, I'll let you know.

    • @eltonsantos8804
      @eltonsantos8804 4 года назад

      @@ADesignerWhoCodes Yeah! I´ve joined a group about this subject and some people gave me tips, I´m sure that I´m gonna finish it until next week! Tks again Teacher.

    • @ADesignerWhoCodes
      @ADesignerWhoCodes  4 года назад

      You’re very welcome

  • @tensazangetsu1016
    @tensazangetsu1016 4 года назад

    I followed it exactly and ithe link i got put me back to google firebase account

    • @ADesignerWhoCodes
      @ADesignerWhoCodes  4 года назад

      Hmmm. Not too sure. The only time I could see that happening is when you have to login if you weren’t already. But otherwise everything is done through CLI. Thank you for following the tutorial. When in doubt, check Google’s documentation. It’s good. 👍

    • @tensazangetsu1016
      @tensazangetsu1016 4 года назад

      @@ADesignerWhoCodes thank you i figured out and it works perfectly better than netifly and aws hosting

    • @ADesignerWhoCodes
      @ADesignerWhoCodes  4 года назад

      I’m 50/50 between Netlify and Firebase. Both are great. And ya. Not a fan of AWS.

  • @eltonsantos8804
    @eltonsantos8804 4 года назад

    continuing: and when I write: "
    firebase deploy" warning: "Error: Not in a Firebase app directory (could not locate firebase.json)"

    • @ADesignerWhoCodes
      @ADesignerWhoCodes  4 года назад

      Hmmm. Without seeing your setup it’s hard to say where you tripped up. But all you are setting up is hosting. Do a google search of the error message. Google’s docs are superior in troubleshooting