We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Compile and Upload to my server

Home Forums General Questions Compile and Upload to my server

Tagged: , , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2713
    jay
    Customer

    Hi there~

    I’m very new to Verge 3D.

    How can I compile and upload my project to my server?

    I just tried to copy my project folder to my local server and it says Failed to load resource: (gltf).

    :scratch:

    #2714
    jay
    Customer

    i mean deploy, not compile :scratch:

    #2715

    Hi jay, welcome to Verge3D forums!

    Yes, copying an entire app folder to a remote server location is a correct way to deploy an application. If you open the browser console (F12), what does it print there?

    Chief 3D Verger | LinkedIn | Twitter

    #2751
    baohua
    Participant

    Hi Yuri,
    I copied the verge3d folder to IIS folder. Start the application it told me :

    v3d.js:1 GET http://localhost/test3d/verge3d/applications/cube/cube.gltf 404 (Not Found)
    the screenshot is attached of the browser:

    #2758

    Hi baohua,
    I see that you are using a rather old version of Verge3D. Before we try to investigate the issue can you please update to the latest version? There were many bugs fixed since then.

    Chief 3D Verger | LinkedIn | Twitter

    #3421
    baohua
    Participant

    If you copy your app into IIS folder to deploy met the issue “404 not found” it may be caused by MIME of “gltf” extension not added.
    The solution is :
    Open IIS manager->in the “connections” panel select the site which is your app hosted. -> in the content panel double click “MIME types” ->click “add” button in the “actions” panel.-> Fill in the “File name extension” with “.gltf”, “MIME type” with “application/gltf” .
    Try refreshing your app page.

    #3427

    Hi,

    Thanks for sharing your solution!

    Chief 3D Verger | LinkedIn | Twitter

    #29288
    kubuz
    Customer

    you’re my hero for today !! :-)
    Edit:
    Same goes for .hdr files in my case.

    #29297
    kubuz
    Customer

    Hi, I have a problem regarding the .hdr filetype.
    It isn’t recognized on the server. I added the MIME type on IIS but it keeps showing as Entry type: LOCAL
    Has anyone have some experience with this ?

    #29304

    you might try application/octet-stream

    Chief 3D Verger | LinkedIn | Twitter

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.