Timnit Gebru
Timnit Gebru

Reputation: 303

deploying a java web project from local mac computer to linux server

I am wondering how I can quickly deploy the java dynamic web project that I built using eclipse on my mac to my Linode linux server? I already have a wordpress website running on the server and have also downloaded tomcat V6 and eclipse. Would I be able to manually copy the source, build and WebContent file contents? I would like to learn best practices for application deployment in the future but this project is very simple and I would like to be able to make it live as soon as possible. If you could also recommend any step by step tutorials I would really appreciate it.

thanks so much Timnit

Upvotes: 0

Views: 681

Answers (2)

Mark Bramnik
Mark Bramnik

Reputation: 42431

You should consider to build a WAR. Eclipse is just an IDE, it helps to develop, not to deploy.

Build your war (you can use maven/ant/build it from eclipse) - whatever you chose.

Once its ready your "deployment task" becomes a matter of moving a single file from MAC to linux server.

Upvotes: 1

Nishant
Nishant

Reputation: 55856

Use Cargo. See how easily it can be integrated with Maven build. Here is an excellent blog post.

Upvotes: 0

Related Questions