The instructions below are for a Windows box. The instructions assume eureka source code is in C:\projects\eureka.
Run build-base.cmd
to build the base Docker image.
Run build-dev-env.cmd
to build the dev-env Docker image.
Run run-dev-env.cmd
to start the dev-env container.
At the bash prompt type cd /projects/eureka/webservice
Type mvn package
to build the web service.
You can now exit the build-env container.
Go to the webapp folder by typing cd webapp
. Type npm install
followed by gulp
.
Now that the web service and web app have been built we are ready to build the Docker image. Switch to eureka folder and type build-web-app.cmd
to build the image, then run-web-app.cmd
to test it.
We use Apache Lucene to index and search. Since Lucene is written in Java our web service is also written in Java. We use Jersey to build the RESTful web service. Apache Maven to build the project. The web server is Apache Tomcat. For the client app we use TypeScript, UIBuilder for building UI components and pages, and MVC Router for routing.