Release process
I would like to build my own release of bimvie.ws and deploy it on a Ubuntu server running Tomcat 8 and BIMserver 1.5.67. The goal here is to test changes I made in both BIMsurfer and bimvie.ws but not on my local machine (OSX). I did not found specific explanations to build such a release in Wiki or in Video. Could you please give me some guidelines ?
It is not really necessary to make a build. I am running both BIMvie.ws, BIMsurfer V1 and the BimServerJavaScriptApi as modules in BIMserver. Every change is directly available after refreshing the browser. You can also just copy all the sources to a directory server by a webserver and link them all together (by putting the right paths in settings.js).
If you really want to make a build (for example to combine all the JS and CSS files), have a look at the Gruntfile.js file in the BIMvie.ws project. The only commands on the build server are:
npm install
/usr/local/bin/grunt
BIMserver is deployed from Tomcat. I executed npm install & grunt on bimvie.ws, BIMsurfer & BIMserver-Javascript-API, then I configured Tomcat so that output directories are served as static content from the same server. Then it is unclear to me how to reinstall bimvie.ws, BIMsurfer & BIMserver-Javascript-API as pluggins from the running BIMserver instance.
Eventually, I managed to make it works by configuring Tomcat to serve the complete project (instead of output directories). I also updated settings.js file to return a fixed version and my BIMserver URL.
At least I can continue my experiments... but I don't realy like the idea of serving the complete project files using Tomcat instead of a real release (using grunt) based on output directories.
That should not be necessary, would you be up for a short call to try and figure this out?
Hi Ruben, that would be nice. I am available tomorrow or next tuesday to make a Skype session (david.barthelemy13). We are on the same timezone.
Ok great, I'll be online tomorrow
Hello, during your call, did you conclude any solution? I would like to deploy my own version of bimviews.
For that, I first tried to deploy bimvie.ws using installPluginBundleFromFile. After a restart, the module is visible on modules page, but cannot access it: I obtain No webmodule bimviews found . I did the same the "official" jar provided for Bimviews and obtain the same: No webmodule bimviews found
PS, I had also installed bimsurfer and bimserverapi.
So, what is the right way to deploy my own version of BIMvie.ws as a jar module? Could you help me on this subject?
Thx
I forgot to mention that I try to make it run on a tomcat server (not within eclipse).