Picture of Nishaad Jainullah
Deploying course
by Nishaad Jainullah - Tuesday, 25 October 2016, 1:58 PM
 

I'm currently pretty far with adapt framework, I got it running and editted the first page. Now I want to be sure I can run this on a web server. I tried to run it on the build-in IIS server from windows (localhost). This will end up in giving me the "White screen of patience".

The 'grunt dev' and 'grunt server' works and I have changed all urls/src's for images to the 'assets/' dir. When I open the server made by grunt then I get a working course. If I open the localhost server from windows I end up watching at the loading screen.

The error chrome and firefox are giving me is that the course/config.json can not be loaded, "Failed to load resource". The link to the file is correct 'http://localhost/course/config.json' that's what the browsers are telling me.

I didn't do major changes on the code so I also tested with the default code ending up with the same problem.

What am I doing wrong? I really hope you all can help me out!

Picture of Matt Leathes
Re: Deploying course
by Matt Leathes - Tuesday, 25 October 2016, 2:36 PM
 

Hi Nishaad

Most likely your IIS server hasn't been configured to have the JSON mime type

I haven't used IIS in a while, but this article on how to add the json mime-type sounds about right.

Picture of Nishaad Jainullah
Re: Deploying course
by Nishaad Jainullah - Wednesday, 26 October 2016, 1:45 PM
 

Thanks this was really useful!