darozak / Advolition

1 stars 0 forks source link

Set up Advolition using GitHub's web hosting service #62

Closed darozak closed 5 months ago

darozak commented 5 months ago

GitHub allows its users to host web pages directly from their repository. Although these are static pages, they can include HTML, CLS, and JS files. Therefore, I should be able to host the most current version of this game on GitHub as a permanent resource for educators and students.

Here is a video that provides simple instructions for setting this up: https://youtu.be/o5g-lUuFgpg?si=MAJqshIK_1lXIaDK

darozak commented 5 months ago

I moved index.html to the root directory and redirected the links to code/dist to enable hosting on GitHub pages (https://github.com/darozak/Advolition/commit/3f01fc47a88df05f69631ec05e1e6ac07d46995a). I also made the repository public so that I can use this feature. I'm waiting for the website to load.

darozak commented 5 months ago

The game is now available here: https://darozak.github.io/Advolition/

I had to update the index.html link to the sprite map (https://github.com/darozak/Advolition/commit/32439b2f42253dd7b0960665c85eb53fb5790a1e). However, that was it. The game is working perfectly from the GitHub hosted site!

Mission accomplished.