Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.97 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.97 KB

Web-opinion-visualiser

Cathal Butler | G00346889 | Final Year Software Development

A multithreaded AI search application that can generate a word cloud from the top 20 words associated with an internet search term.

Environment Setups

Environment setup can be done in two ways, either install Tomcat or use a Docker container with tomcat.

Building Jar

Must use Java 8
Compile Java classes with needed Jar inside./web/WEB-INF/lib set in the classpath:

  • First cd into the classes folder: cd web/WEB-INF/classes
  • Then run compile the classes and use find and grep to location .java files: javac -cp ".:../lib/*" $(find ./* | grep .java)
  • Finally, create the jar by running: jar -cf ../wcloud.war *

How to run with Docker

docker run -p 8888:8080

  • To mount the volume with the wcloud.war amend the command with the path were you downloaded the .war file too -v [download location]/wcloud.war:/usr/local/tomcat/webapps/wcloud.war
  • Container name: tomcat:9.0.30-jdk8-openjdk

Navigate to localhost:8888/wcloud

Development & Testing

This project was developed on my own personal laptop running

References: