Angular v17 Deploy To GitHub Pages - One Repo (not automated)

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

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

  • @FelipeOliveira1
    @FelipeOliveira1 2 месяца назад +1

    Excellent content, congratulations on your work! Keep it up!

  • @ghazisanaullah2530
    @ghazisanaullah2530 6 месяцев назад +1

    your are a life saver i cant thank you enough. i was doing everything you did but nothing was working for 2 days because no one told me to add '/' after the repository name after you paste it in base href 😭

  • @gaveho_
    @gaveho_ 2 месяца назад

    Have someone deploy a localized Angular app to Github pages? In my case, my build generated /docs/en and /docs/es. But then if I visit my domain in Github does not work unless I append en/en/auth/login....

  • @ArjunKumar-kh5qe
    @ArjunKumar-kh5qe 2 месяца назад +2

    Thanks you help a lot to me , l was struggling in this

    • @MonaCodeLisa
      @MonaCodeLisa  2 месяца назад

      Glad I could help, thank you

  • @AlagammaiN
    @AlagammaiN 3 месяца назад +1

    If we update any changes after published we need to do the whole process again with new repo?

    • @MonaCodeLisa
      @MonaCodeLisa  3 месяца назад +1

      If you are adding updates you do not need to repeat the whole process, you can still use the same repo, same directory but you just need to overwrite the compiled files with the new ones manually - replace the content of the dist folder with the new files, but that is all.
      There is also an option to automate this process - ruclips.net/video/SMuB3qYjDUw/видео.html

  • @sebastianbermudez9135
    @sebastianbermudez9135 7 месяцев назад +1

    Worked perfectly! Thank you

  • @Tastytest-pi4cd
    @Tastytest-pi4cd 4 месяца назад +1

    Thank you very much, this video helped me a lot.

  • @CodexThrill
    @CodexThrill 5 месяцев назад +1

    hello mam thanku soo much its work perfectly.
    my angular app functionality is not work when i deployed my app on github.
    like i want to add task but it not work. can you explain this is github deployment error or my project

    • @MonaCodeLisa
      @MonaCodeLisa  5 месяцев назад

      thank you, you can join my discord - discord.gg/t2Cc58hZrS
      and share your error there

  • @AlalUddin24
    @AlalUddin24 8 месяцев назад

    Hello ma'am, can you please look into this . After deploying my Angular application, I noticed that the updated data from the API is not being reflected in the deployed version. The application was working fine during development and the static pages generated by the Angular CLI at the time of the build displayed the correct data. However, after deployment any changes made to the API are not reflected in the application.
    I have verified that the issue persists across multiple browsers and the API itself is functioning correctly when accessed directly.

    • @MonaCodeLisa
      @MonaCodeLisa  8 месяцев назад

      After you make any changes you will need to build the app again and then re-upload the files, in this specific case you will need to re-init the repo as well because the .git file gets erased on every build - all the contents of the dist or dist/browser folder get replaced by new ones from the new build. This option really is most suitable if your app is finished and you would not be doing frequent changes.

  • @peterszabo3897
    @peterszabo3897 3 месяца назад +1

    I think it's far more simpler, you can choose on settings - github pages -> docs, everything under docs, will be deployed, so you don't need to split up the build and the source. Unfortunately angular cli is generating docs/browser folder, hence you need to copy out. Github does allow only root and docs folder at the moment. Naturally there should be some tricky config, but i think it's fine.

    • @MonaCodeLisa
      @MonaCodeLisa  3 месяца назад

      Very interesting I am not seeing docs under github pages 🤔 maybe you can share more on Discord - discord.gg/P7cqFgrF

    • @peterszabo3897
      @peterszabo3897 3 месяца назад

      ​​@@MonaCodeLisa When you choose the branches, you can choose the folder after that. (root and docs folder are available)

  • @Dampfheini
    @Dampfheini 6 месяцев назад

    Doesn't work. Nothing happened after I clicked on save. Everything from /dist is on a separate branch "gh-pages".

    • @MonaCodeLisa
      @MonaCodeLisa  6 месяцев назад

      Wrong implementations rarely work. You have two options - 1. Rewatch the video and see exactly what you did differently and correct it, or 2. Start the whole process again - this time without skipping, jumping ahead or missing any steps.

  • @olusprogr
    @olusprogr 6 месяцев назад

    It is working but the my routing system is now broken. The first time im updating the website it will always redirect me to the github error pages. Can u make a Video about this bug? Ty

    • @MonaCodeLisa
      @MonaCodeLisa  6 месяцев назад

      very interesting, I would like to see it because I have not seen this error, and then I will help if I can, if you want come to my project's server on discord where you can share more about it - discord.gg/yhWrXN9r

  • @abdelrhmanbadran
    @abdelrhmanbadran 4 месяца назад

    thank you so much for sharing! can you make video for deploy angular v17 ssr app please?

    • @MonaCodeLisa
      @MonaCodeLisa  4 месяца назад

      Thank you, yes this video has been requested, I will try my best to record it soon :)

  • @bhaskararao4892
    @bhaskararao4892 8 месяцев назад +1

    thank you so much it worked

    • @MonaCodeLisa
      @MonaCodeLisa  8 месяцев назад +1

      Glad to hear :) You're welcome!

  • @StartCoding0to1
    @StartCoding0to1 7 месяцев назад +1

    Helpful Thank you.

  • @m.f.2015
    @m.f.2015 8 месяцев назад

    thank you so much for sharing!

  • @nouchance
    @nouchance 8 месяцев назад +1

    Thanks!🎉❤

  • @codelover1426
    @codelover1426 8 месяцев назад

    make a video on deploy angular 17 in iis server on windows 10 or server pc

    • @MonaCodeLisa
      @MonaCodeLisa  8 месяцев назад +1

      Thank you that is a good idea :) I am not sure that I can since all my devices are on win 11 but I will think about something when I have a bit more time.

    • @codelover1426
      @codelover1426 8 месяцев назад

      @@MonaCodeLisa Thanks for your time