A java web application , could be tested on a tomcat server by following the steps below :
- Clone the repo in your enviroment .
git clone https://github.com/modpy44/ChatApp.git
- cd browse to the project directory
- Use the following command to generate .war file
jar -cvf ChatApp.war *
- Install the application in tomcat server by adding the war file to
<tomcat_home>\webapps
- Check port configuration, by default tomcat server should be running on port 8080 , start the server
- Open browser , type in adress bar
localhost:8080/ChatApp
- Invite your friends to connect to your pc on a LAN network :
<your_ip_adress>:8080/ChatApp
- Pick a user name and log into the conversation .