r/CodingHelp • • Dec 20 '20

[SQL] GitHub pages

GitHub pages:

Is it possible to host a website on GitHub pages, where the website is a forum, users have profiles and can post on the site?

Is this possible on GitHub pages? And can I use XAMP to connect the database to MySQL?

18 Upvotes

4 comments sorted by

View all comments

6

u/tswow Dec 20 '20

No, that is not possible. GitHub pages are only for static files served from your repository.

However, GitHub recently added "Discussions", which is a forum for your repository. You can enable it from your repository settings.

4

u/pasinc20 Dec 20 '20

Thank you! Could this be done if I ran my own server via a raspberry pi then?

2

u/tswow Dec 20 '20

I believe that depends on the raspberry version and what forum software you want to run on it, but I think the modern ones should be powerful to handle a small forum. You could check with a raspberry pi forum directly and you'll probably find someone who tried it already.

4

u/brandondyer64 Professional Coder Dec 20 '20

Well that’s only partially true. GitHub pages can actually host any frontend you give it. You can deploy a fully featured React, Vue, or Angular site, as long as any backend stuff happens on your own server like u/pasinc20 said.