Host Angular App on Github | Host a Website on GitHub Free | Github pages | Angular Tutorials

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • Learn How to Host Angular App to GutHub for free.
    Host a Website on GitHub Free
    host website on github pages
    publish angular app in github
    #DeployonGitHub #publishwebsiteingithub #publishwebfree
    Step 1 - ng add angular-cli-ghpages
    Step 2 - push Code to githubRepo
    Step 3 - go to repo setting and select main branch and save
    Step 4 - build application using below cmd
    ng build --base-href "_githubProfileName_.github.io/_repoName_/"
    Step 5 - publish your build changes from your local folder to github pages with below cmd
    npx angular-cli-ghpages --dir=dist/_repo_name_
    Step 6 - go to repo setting and select gh-pages branch and save
    Learn From me
    angularacademy.in
    Connect With Me
    chat.whatsapp....
    You can find Code on GitHub
    github.com/voi...
    Visit Our Mini Project Ideas Portal where you can find So many project
    ideas you can try to implement
    miniprojectide...
    Follow & Connect me on LinkedIn
    / chetan-jogi-a87148ba
    #githubpages
    #angular15
    #angularforbeginners
  • НаукаНаука

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

  • @apxutektop_bk6457
    @apxutektop_bk6457 8 месяцев назад +5

    в любой непонятной ситуации всегда найдётся индус, который поможет. спасибо тебе!!

  • @sanket6543
    @sanket6543 10 месяцев назад +1

    omg very imp video we can showcase our work now really appreciated all your efforts🎉

  • @shubhampatil7267
    @shubhampatil7267 21 день назад

    Such a Great Video .......Help Full Video Thank You👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌......

  • @vaibhavvanjole8142
    @vaibhavvanjole8142 Месяц назад

    Thank you, buddy...... helpful video.. appreciate all your efforts

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

    What a great video! You really helped me to deploy a project! I just don`t understand why I could not find such an explanation from any official docs. Thank you very much.

  • @user-yx8lv5hl4p
    @user-yx8lv5hl4p 10 месяцев назад +1

    Very precise. Thank you

  • @akankshaasutkar4305
    @akankshaasutkar4305 10 месяцев назад

    thanks sir for sharing

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

    You explain very well ❤

  • @jes-xe8eo
    @jes-xe8eo 10 месяцев назад

    easy way to showcase you have been working on

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

    This still work now that "ng build" adds the javascript under the "dist/$projectName/browser" folder?! I've tried to upload to Github (using these instructions) with my angular app, and then a simple new Angular app, and I get 404s when I try and bring up the github page.

    • @LearningPartnerDigital
      @LearningPartnerDigital  7 месяцев назад

      Sorry but with these set of instructions all are able to deploy app. Can u connect me on LinkedIn n send me steps you are doing

  • @WahajAhmed-oq5dg
    @WahajAhmed-oq5dg Месяц назад +1

    I deployed my angular app but it's showing a blank page.

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

    this is very helpful. thanks a lot...

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

    I've followed every step but even after choosing gh-pages on the branch setting, my page is opening with file not found. When it was on main it at least showed the README file but now after changing it to gh-pages it shows page not found. Anyone know why?

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

      While building..hav u added / in the end

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

      @@LearningPartnerDigital Yeah I have but it still does the same thing by loading the README file first but after refreshing the page it shows "page not found".

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

      @@chikara_2002 angular 17+ brougth a breaking change, you can find more in angular-cli-ghpages npm page or github repo. There is a new version to workaround this (2.0.0-beta.2). I guess the way the outputPath is build now (with browser and server folder, this second if ssr is enabled), has to be covered in the deploy also. @LearningPartnerDigital, you could make a new video about this new process. I guess you would be the first one in the entire youtube with this content! ;)

  • @ankitakhangar1869
    @ankitakhangar1869 10 месяцев назад

    #deployangularapp

  • @CharlesJ-lr3gq
    @CharlesJ-lr3gq 10 месяцев назад

    nice

  • @MHA._19
    @MHA._19 23 дня назад

    thank you buddy

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

    thank you that works man

  • @user-sz4gv2be6i
    @user-sz4gv2be6i 7 месяцев назад

    thanks, it helped me a lot

  • @rahul.jagtap
    @rahul.jagtap 10 месяцев назад

    Thanks 👍

  • @vikashbanoriya142
    @vikashbanoriya142 10 месяцев назад

    Sir could you please make a small module based project on angular with different kinds of module such as login module, dashboard module, emp management module etc.
    Sir it will help us to understand the realtime project flow sir please make it as soon as possible
    thank you in advance sir 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

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

    How can deploy with environment variables and we can call apis from this ?

  • @user-xp2fj1qs5j
    @user-xp2fj1qs5j 4 месяца назад +1

    get 404 error in the end so tell me solution

  • @MrUvwx
    @MrUvwx 9 месяцев назад

    Works well for me but when I make changes or add updates in my website, how should I make it visible in deployed application?
    committing in the main repo won't work (is not working) so how should I make changes?

    • @LearningPartnerDigital
      @LearningPartnerDigital  9 месяцев назад

      Again you need to reploy using publish cmd

    • @MrUvwx
      @MrUvwx 9 месяцев назад

      Thanks @@LearningPartnerDigital , It works for me.

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

    Hey I have a problem with my own whenever I got it comes out as a blank page. Any suggestions also I have alot of component contained for my angular app

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

    when I make ng build, runtime.js not creates and i have folder "browser" in my dist folder,can u tell me how to fix it?

  • @sumagvgs2069
    @sumagvgs2069 13 дней назад

    After deploying can i make changes in the project??

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

    Outdated it seems. Leads to a 404 now when I try this.

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

      in case on angular 17. cmd will change a bit as in dist folder we get browser folder so update cmd

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

      @@LearningPartnerDigital ok changing my command to npx angular-cli-ghpages --dir=dist/My-Website/browser worked

    • @shubhampatil7267
      @shubhampatil7267 21 день назад

      @@LearningPartnerDigital what should we do any Changes in the CMD Command

  • @LongTran-rq1oo
    @LongTran-rq1oo 6 месяцев назад

    Dear Sir. Thank you for your video. For my application, it shows 404 file not found while it still runs properly with ng serve...

    • @LongTran-rq1oo
      @LongTran-rq1oo 6 месяцев назад

      Using ng deploy instead of ng build solve this problem!!

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

      ​@@LongTran-rq1oo salvou minha vida, irmão 😃

  • @sribyte
    @sribyte 9 месяцев назад

    maja nahi aaya 20 mins barbaad ho gaye ! thanks

  • @m.biky5029
    @m.biky5029 6 месяцев назад

    Thanks buddy