Centos 7
node -v
v0.10.46
npm -v
4.5.0
Gradle 2.14
Tomcat 8.5.4
java -version
java version “1.8.0_131”
Was trying to build a fresh copy of OpenSpecimen 4.0. Followed the directions in “How to build from source code.”
Fired up tomcat, all the tables were created. When I opened the browser the screen would remain blank. Viewing the source. the only thing in there were some commented lines having to do with happy browser.
I then copied index.html from the distribution, which then generated a lot of file not found errors. Looking at the javascript console, I noted the files and copied them over manually with the following commands.
cp www/app/styles/* /usr/local/tomcat/webapps/openspecimen/styles/
cp -r modules/ /usr/local/tomcat/webapps/openspecimen/
cp -r www/external_components/ /usr/local/tomcat/webapps/openspecimen/
cp www/app/*.js /usr/local/tomcat/webapps/openspecimen
After that I was able to fire up openspecimen, add my site and user.