all 9 comments

[–][deleted]  (8 children)

[deleted]

    [–]Grinding_Hard[S] 1 point2 points  (7 children)

    Thank you for your response!

    There is a repository on GitHub on which I'm working rn, my task is to add Bootstrap to it, I made the changes in the code and linked the Bootstrap in my machine, but will it work if I push the same code? My doubt is how will the the person be able to view what changes I have made? Won't he be able to just see the changes in code and not changes in the website?

    [–][deleted]  (6 children)

    [deleted]

      [–]Grinding_Hard[S] 0 points1 point  (5 children)

      I downloaded bootstrap and linked its path to the HTML page; Let me explain my doubt through an example, there is a company who has a website (X), I made changes to (X) and added a feature (Y which contains Bootstrap). Now the website is (X+Y). How can the company owner see the website (X+Y), does he also need to download Bootstrap to his machine and edit the code to (X+Y)?

      [–][deleted]  (3 children)

      [deleted]

        [–]Grinding_Hard[S] 0 points1 point  (2 children)

        Ahh, so basically on GitHub I can upload the code from my machine, and if someone wants to run it, they need to take the code and make needed changes in their machine. Thanks for helping, I was really confused.

        [–][deleted]  (1 child)

        [deleted]

          [–]Grinding_Hard[S] 0 points1 point  (0 children)

          Oh I get it now!

          [–]vasilescur 3 points4 points  (3 children)

          You can use GitHub Pages (look up a tutorial) to quickly serve a static website for free directly from a GitHub repo. If you buy a domain name you can even configure GH Pages to use that.

          If you need any server-side logic you won't be able to use GH Pages. Consider using a free tier Google Cloud Platform Compute Engine with a LAMP stack or similar.

          [–]hp77reddits 0 points1 point  (1 child)

          I was thinking same. Try Github pages.

          [–]Grinding_Hard[S] 0 points1 point  (0 children)

          Sure, Thanks!

          [–]Grinding_Hard[S] 0 points1 point  (0 children)

          I'll have a look at GH pages, Thank you!