Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 968 Bytes

building.md

File metadata and controls

33 lines (22 loc) · 968 Bytes

Build project

To build from source, you need the following installed and available in your $PATH:

  1. Install using maven
mvn clean && mvn install
  • This will create a disk-server-[version].war file in server/target
  • It will also create a disk-client-[version].war file in client/target
  1. Move the war files to a Servlet container (Tomcat)
mv /path/to/disk-server-<version>.war /path/to/tomcat/webapps/disk-server.war
mv /path/to/disk-client-<version>.war /path/to/tomcat/webapps/disk-client.war
  1. Start tomcat
/path/to/tomcat/bin/startup.sh
  1. Customize the client by changing /path/to/tomcat/webapps/disk-client/customize/config.js

  2. Check $HOME/.disk/server.properties file to see that server name is correctly identified and edit the file as necessary