- Java 8
- Maven 3.3
- arangoDB (https://www.arangodb.com/)
- SrcML (https://www.srcml.org/#download)
Node and npm is installed locally during Maven build process.
- Copy
src/main/resources/example.application.properties
and rename it toapplication.properties
. - Edit
application.properties
according to your settings. - Ensure arangoDB is running.
- Execute
mvn clean package
- Execute
java -jar target/feature-dep-viz-0.0.1-SNAPSHOT.jar
- Open browser and go to https://localhost:8080.
While indexing might need multiple hours for larger repositories, one might want to export/import an already available database. This can be done by using the following commands.
Using arangodump:
arangodump --output-directory "dump" --server.database <db-name> --server.username <username> --server-password <userpassword>
Using arangorestore:
arangorestore --input-directory "dump" --server.database <db-name> --server.username <username> --server-password <userpassword
To index everything call localhost:8080/api/setup. Dependent on the size of the repository and history this can take multiple hours!