Home › Forums › General Questions › github pages
Tagged: github pages, self host
- This topic has 10 replies, 3 voices, and was last updated 4 years, 3 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2020-08-28 at 11:51 am #32124g_hugCustomer
Is it possible to share verge3d apps on github pages as a free way to self host projects?
I know github pages uses markdown/jekyll/static websites etc but I am thinking perhaps there is a way to upload the verge3d folder and have a custom domain github page show it?
I am thinking of a homepage which shows a simple verge3d app (ideally in full screen) where clickable objects open tabs to other pages…operating something like this: https://demomovingimage.net/
Any suggestions would be appreciated!
2020-08-28 at 12:40 pm #32128Yuri KovelenovStaff2020-08-29 at 4:37 am #32143GLiFTeKCustomerWhat are the rules for using git hub pages? Do they allow anything just as long as it isn’t soliciting anything commercial?
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-08-31 at 10:47 pm #32264g_hugCustomerThank you for the response!
I appreciate this is outside of the normal parameters, but are you able to v briefly outline the process for serving a verge3d app through github pages? I am struggling with how to launch the verge3d files from the repository I have a github pages site pointing to. I’ve been researching but haven’t managed to find the answer yet
I’d be grateful for any pointers.
Re: guidelines for using github pages I’m not sure…this would be serving as a portfolio of sorts so definitely not commercial!
2020-09-01 at 7:33 am #32269Yuri KovelenovStaffHi,
did you follow this guide? https://pages.github.com/
May be it requires to have index.html file in the root so make sure you have one.
2020-09-03 at 2:30 pm #32377g_hugCustomerHi Yuri,
Thank you for the reply. After some trial and error I was able to get it to work. An initial github pages site does need an index.html file you’re right, and getting Verge3D apps to be hosted correctly is a matter of how they are uploaded via git. Git LFS may be needed depending on file sizes in the V3d project.
I am having trouble with one app, however. Although showing fine in sneakpeek & when hosted on the Verge3D network, when hosted separately object materials are not displaying correctly.
I’m confused why this is the case, any help would be massively appreciated.
2020-09-03 at 3:04 pm #32379Yuri KovelenovStaff2020-09-03 at 3:06 pm #32380Yuri KovelenovStaffAlso your app is too big in file size (131 Mb), consisting mostly of big textures. You should definitely optimize it! See this vid for example: https://www.youtube.com/watch?v=yYOyUwRveAU
2020-09-03 at 8:51 pm #32385g_hugCustomerYou’re right – I’ll definitely optimise! I didn’t for this as it is just a test and I was trying to figure out the uploading for github pages. The repo and folder in question:
You’re right, I hadn’t realised the images were loading this way. Perhaps it is to do with git lfs?
2020-09-03 at 10:28 pm #32386g_hugCustomerreducing all of the texture images to below 1mb and disabling gif lfs for .jpg files seems to have done the trick.
Thanks!
2020-09-04 at 5:36 am #32394Yuri KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.