adrianhajdin / project_3D_developer_portfolio

The most impressive websites in the world use 3D graphics and animations to bring their content to life. Learn how to build your own ThreeJS 3D Developer Portfolio today!
https://jsmastery.pro
5.83k stars 1.29k forks source link

Please enable GitHug Pages #22

Open korenevskiy opened 1 year ago

korenevskiy commented 1 year ago

Please enable GitHug Pages Github pages

shazinabbas commented 1 year ago

Hey! Even I am trying to figure out how to publish it in my github pages.

I tried by directly uploading all the files and folders in to my repo, but gives out a white screen. can anyone help?

korenevskiy commented 1 year ago

@shazinabbas Everything is simple there. The Pages page displays the file readme.md , the one that is displayed in the repository description. But in this file you can attach a link to the file index.html and to any other html file. Example link: https://shazinabbas.github.io/Portfolio_1.0/index.html

Put this link in README.md Try using files with different names.

shazinabbas commented 1 year ago

https://shazinabbas.github.io/Portfolio_1.0/index.html This link itself shows a blank page. Where as when deploy it from vite it works fine. why is it like that tho?

korenevskiy commented 1 year ago

In the Pages settings, specify the default start file. So you have this file empty. https://github.com/shazinabbas/Portfolio_1.0/blob/main/index.html

Are you sure you want to post a portfolio here. I think it's a little early. 😀

shazinabbas commented 1 year ago

Now that I have figured out and deployed to my github pages under https://shazinabbas.github.io/portfolio

But when I tried adding a custom domain (https://shazin.live/) It gives a 404 error saying these files (index-5b033d90.js and index-8774ae0d.css) are not found. these files are mentioned in the index.html in the dist folder.

I don't think it is a problem from github pages, because it is deployed and working perfectly. I guess the problem is from Vite react or something. Pls help me out

korenevskiy commented 1 year ago

@shazinabbas Я ни когда не подключал домен к Github. Это позор для портфолио https://github.com/shazinabbas/portfolio Я открыл страницу и на ней нет ни ссылок на ДЕМО, там нет описания технологий, Как люди будут пользоваться поиском Github найдут Вашу ДЕМО страницу? Вы должны разместить всю информацию в readme.md. Это позор для Вашего портфолио, когда Вы даже не дали описания для поисковых запросов для Github.

ravindrasirvi609 commented 1 year ago

Now that I have figured out and deployed to my github pages under https://shazinabbas.github.io/portfolio

But when I tried adding a custom domain (https://shazin.live/) It gives a 404 error saying these files (index-5b033d90.js and index-8774ae0d.css) are not found. these files are mentioned in the index.html in the dist folder.

I don't think it is a problem from github pages, because it is deployed and working perfectly. I guess the problem is from Vite react or something. Pls help me out

hii @shazinabbas can i know how you successfully deploy this ??