user1366327
user1366327

Reputation: 21

Installing a game on Tomcat. Newb here

this might be a tall order or it might be ridiculously simple. I wanted to run this game on my website: https://github.com/ajanata/PretendYoureXyzzy

Unfortunately I have no clue how to make something like this work. There didn't seem to be an installation file, so I can only imagine it's painfully obvious to anyone familiar with this sort of thing. I recently ordered a trial of a shared Tomcat server, since I'm assuming that's needed to run all the Java goodies.

If there are any simple instructions I should follow to install this, it would be much appreciated if you could share them!

Upvotes: 2

Views: 1960

Answers (2)

BeRecursive
BeRecursive

Reputation: 6376

You need to download the source from the Github link you provided and then download Eclipse - Java EE. You then open Eclipse and choose File->Import->General->Existing Projects Into Workspace and choose the folder you just downloaded. You can then choose Export->Web->WAR file and export the WAR file.

You then download and setup Tomcat as described here (ignore the parts after Tomcat is running and you can access it at http://localhost:8080) and install the WAR as described here.

If you are feeling exceptionally lazy I have built the war here. You just need to drop it into the webapps folder in your Tomcat installation and then restart your server. You can then access it at:

http://localhost:8080/cah.

Upvotes: 1

rooftop
rooftop

Reputation: 3027

Hard to say without looking deeper into the project, if they create a .war file somehow, just copy the .war file into [tomcat home]/webapps directory and your application will be deployed. You can then acces it at yourmachine:8080/warname where warname == the name of the war file without the .war extension.

There appears to be a SQL script with the project as well, not sure if there is some database you might need to setup which could get tricky.

Upvotes: 0

Related Questions