If you have installed Docker, run:
docker-compose up --build
Or
- Prepare a MySql database with
twitter2db - Change the connection string from
jdbc:mysql://mymysql:3306/twitter2to"jdbc:mysql://localhost:3306/twitter2"inpersistence.xml - Run
init.sqlagainst your db - Update
context.xmlandtomcat-users.xmlin yourtomcat/conf(correct content of the files can be found intomcat-config) - ???
Use mvn package to create a *.war file, that can be uploaded into Tomcat
Connect mvn deploy with Tomcat