Hopsworks development has moved to logicalclocks/hopsworks.

HopsWorks is part of the Hops Hadoop platform which you can install by following instructions available in Hops documentation under Installation Guide.
For a local single-node installation, to access HopsWorks just point your browser at:
http://localhost:8080/hopsworks
usename: admin@kth.se
password: admin
HopsWorks consists of the backend module which is packaged in two files, hopsworks.ear and hopsworks-ca.war,
and the front-end module which is packaged in a single .war file.
NodeJS server and bower, both required for building the front-end.
sudo apt install nodejs-legacy
sudo apt-get install npm
sudo npm cache clean
# You must have a version of bower > 1.54
sudo npm install bower -g
sudo npm install grunt -gmvn install Maven uses yeoman-maven-plugin to build both the front-end and the backend. Maven first executes the Gruntfile in the yo directory, then builds the back-end in Java. The yeoman-maven-plugin copies the dist folder produced by grunt from the yo directory to the target folder of the backend.
You can also build HopsWorks without the frontend (for Java EE development and testing):
mvn install -P-webThe javascript produced by building maven is obsfuscated. For debugging javascript, we recommend that you use the following script to deploy changes to HTML or javascript to your vagrant machine:
cd scripts
./js.shYou should also add the chef recipe to the end of your Vagrantfile (or Karamel cluster definition):
hopsworks::dev
You can build HopsWorks without running grunt/bower using:
mvn install -P-dist
Then run your script to upload your javascript to snurran.sics.se:
cd scripts
./deploy.sh [yourName]
The following steps must be taken to run HopsWorks integration tests:
-Warning: This test will clean hdfs and drop HopsWorks database. So it should only be used on a test machine.First create a .env file by copying the .env.example file. Then edit the .env file by providing your specific configuration.
cd hopsworks/hopsworks-ear/test
cp .env.example .envThen change the properties in HopsWorks parent pom.xml to match the server you are deploying to:
<properties>
...
<glassfish.hostname>{hostname}</glassfish.hostname>
<glassfish.admin>{username}</glassfish.admin>
<glassfish.passwd>{password}</glassfish.passwd>
<glassfish.port>{http-port}</glassfish.port>
<glassfish.admin_port>{admin-ui-port}</glassfish.admin_port>
<glassfish.domain>{domain}</glassfish.domain>
</properties>To compile, deploy and run the integration test:
cd hopsworks/
mvn clean install -Pjruby-testsIf you have already deployed hopsworks-ear and just want to run the integration test:
cd hopsworks/hopsworks-ear/test
bundle install
rspec --format html --out ../target/test-report.htmlTo run a single test
cd hopsworks/hopsworks-ear/test
rspec ./spec/session_spec.rb:60When the test is done if LAUNCH_BROWSER is set to true in .env, it will open the test report in a browser.