-
Java - 1.8.x
-
Maven - 3.x.x
1. Clone the application
git clone https://github.com/hariohmprasath/spring-boot-websocket-chat-demo-master.git
2. Build and run the app using maven
cd spring-boot-websocket-private-message-demo
mvn package
java -jar target/spring-boot-websocket-private-message-demo-0.0.1-SNAPSHOT.jar
Alternatively, you can run the app directly without packaging it like so -
mvn spring-boot:run
3. Build docker image
Docker file is available under root directory, run the following command to generate a docker image out of this application
docker build -t demo .