perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.65k stars 1.56k forks source link

Deploying to a server #64

Closed ghost closed 11 years ago

ghost commented 11 years ago

I'm pretty new to Java web development and I'm having a lot of trouble deploying my application to a remote Tomcat server. The readme on the Java Spark website isn't helping too much. I've got a pretty complicated application built right now that runs fine in standalone, but is there anyway someone could post a complete, configured sample application that can be deployed on a remote server?

perwendel commented 11 years ago

Not to be unhelpful but I guess you need to know the basics on how to create web apps, package them i a war and deploy on an application server, e.g. Tomcat. Try to find some simple HelloWorld tutorial.

After that the Running Spark on a web server part http://www.sparkjava.com/readme.html#title13 should help you with the Spark parts.

perwendel commented 11 years ago

Closing since it's not a bug.