opensourceBIM / bimvie.ws

Javascript client for Building Information Modelling, using open standards like IFC, BCF and BIMSie. Using Bootstrap, BIM Surfer, etc..
GNU Affero General Public License v3.0
173 stars 87 forks source link

Deploy bimvie as webapp #34

Closed theresnou closed 9 years ago

theresnou commented 9 years ago

Hello,

I'd need your advice please.

I've successfuly deployed bimvie.ws as a bimserver plugin and works perfectly. But I'm struggling to deploy it in a separate web server as an application. I just get the bimserver login page and nothing is clickable. I see an error in the firefox dev console "TypeError: Global.bimServerApi is null @ http://127.0.0.1:7000/bimviews/js/jquery-2.1.0.min.js?_v=1414757316568:11"

I've tried copying the bimserverapi.js in the js directories but I can't make it work. Is there any manual step I have to perfom/ensure to deploy it in a server instead of as a plugin?

Thanks so much

theresnou commented 9 years ago

I've managed to solve the issue. Without a server being selected, nothing seems to work properly. By calling the app with a /?page=SelectServer I can select the server and keep that data stored for future calls. All working like a charm! Thanks