简体   繁体   English

在Tomcat上安装游戏。 纽布在这里

[英]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 我想在我的网站上运行此游戏: 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. 我最近订购了一个共享Tomcat服务器的试用版,因为我认为这是运行所有Java必需品所必需的。

If there are any simple instructions I should follow to install this, it would be much appreciated if you could share them! 如果有任何简单的说明可以安装,请与您分享!

You need to download the source from the Github link you provided and then download Eclipse - Java EE . 您需要从提供的Github 链接下载源代码,然后下载Eclipse-Java EE You then open Eclipse and choose File->Import->General->Existing Projects Into Workspace and choose the folder you just downloaded. 然后打开Eclipse,然后选择File->Import->General->Existing Projects Into Workspace然后选择刚下载的文件夹。 You can then choose Export->Web->WAR file and export the WAR file. 然后,您可以选择Export->Web->WAR file并导出WAR文件。

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 . 然后,按照此处所述下载并设置Tomcat(忽略Tomcat运行后的各个部分,您可以从http://localhost:8080访问它)并按照此处所述安装WAR。

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. 您只需要将其放入Tomcat安装中的webapps文件夹中,然后重新启动服务器即可。 You can then access it at: 然后,您可以在以下位置访问它:

http://localhost:8080/cah . http://localhost:8080/cah

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. 如果不深入研究项目,很难说,如果他们以某种方式创建.war文件,只需将.war文件复制到[tomcat home] / webapps目录中,即可部署您的应用程序。 You can then acces it at yourmachine:8080/warname where warname == the name of the war file without the .war extension. 然后,您可以在yourmachine:8080 / warname上访问它,其中warname == war文件的名称,不带.war扩展名。

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. 该项目中似乎也有一个SQL脚本,不确定是否可能需要设置一些数据库,而这可能会变得棘手。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我安装了OpenJDK,现在正在安装Tomcat。 JRE在哪里? - I installed OpenJDK, now I'm installing Tomcat. Where is the JRE? 雄猫。 Java运行时编译 - Tomcat. Java runtime compile Tomcat。 导入 class 时出现 ClassNotFoundException - Tomcat. ClassNotFoundException on importing class 在tomcat中部署的问题。 在本地tomcat中工作正常。 在生产tomcat中抛出空指针异常 - issue with deployment in tomcat. Works fine in local tomcat. throws null pointer exception in Production tomcat 来自tomcat的NoClassDefFoundError。 pom出问题了吗? - NoClassDefFoundError from tomcat. is there something wrong with my pom? Hibernate + Apache Tomcat。 嵌入式数据库的相对路径 - Hibernate + Apache Tomcat. Embedded database relative path 雄猫。 此解析器不支持规范 null 版本 null - Tomcat. This parser does not support specification null version null Jetty中的javax.naming.NameNotFoundException但Tomcat中没有。 怎么解决? - javax.naming.NameNotFoundException in Jetty but not in Tomcat. How to solve? 在tomcat上运行的Java应用程序。 无法通过ajp访问。 - java application running on tomcat. Unable to access over ajp. Tomcat会启动线程,但无法停止。 发生了什么? - Thread starts and fails to stops with Tomcat. What's happening?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM