Konstantin Solomatov
Konstantin Solomatov

Reputation: 10332

Git deployment outside of heroku

I like very much the way applications are deployed at heroku by just pushing in git. Is there a way to use such kind of deployment in Java?

P.S. I have a small application which is deployed to tomcat server. I don't need distribution and other stuff.

Upvotes: 2

Views: 430

Answers (3)

Andrea
Andrea

Reputation: 446

You should take a look to build automation DSLs such as Buildr , Gradle. You will have probably to automate the deployment process under your environment.

The first objective you should follow is to set up a build automation system that allows you to 1-click-deploy (or 1-command-deploy)

The successive step you achieve is a Continuous Integration system.

Upvotes: 0

Adam Dymitruk
Adam Dymitruk

Reputation: 129564

Since Java is a compiled language, you don't have the same luxury as ruby and other languages where you simply deploy code.

Take a look at AppHarbour as they do this for C# and from there see if anyone is offering the same thing for Java.

Upvotes: 1

René Höhle
René Höhle

Reputation: 27295

You can use something like Jenkins with this software you can make a git pull then build your war file and its possible to extend the system and execute a script that copy the file over ssh to your server for example and restart your tomcat.

in Jenkins you have a lot of Plugins.

There are some other deployment softwares but all of them cost a lot of money.

Upvotes: 0

Related Questions