Skip to content
Browse files

Update readme

  • Loading branch information...
1 parent 3d9a85f commit 6e3408790b206e5abdbb82e33fbb157366ac9e6e jeremy-aubert committed May 7, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 README.md
View
8 README.md
@@ -5,10 +5,11 @@ This is a Java sample using the Spring framework and a MySQL service.
[http://static.springsource.org/docs/petclinic.html](http://static.springsource.org/docs/petclinic.html)
-This application uses a java buildpack.
+This application uses a [java buildpack](https://github.com/heroku/heroku-buildpack-java).
-The java buildpack allows to download dependencies, build and run the application directly on the server.
-It uses Jetty. Jetty is a lightweight Java application server which includes a Jetty Runner jar.
+The java buildpack allows to download dependencies, build and run the application directly on the server. You do not need to
+build the application before pushing it on Stackato.
+It uses [Jetty](http://jetty.codehaus.org/jetty/). Jetty is a lightweight Java application server which includes a Jetty Runner jar.
Therefore, the Java Application can be run directly from the java command and can be passed a war file to load right
on the command line. An example of this would be:
@@ -32,6 +33,7 @@ You can view the application at the 'Application Deployed URL'.
Running the Application locally
------------------------
+This application uses the DATABASE_USE variable to get the database informations.
To run the application locally, set the DATABASE_URL variable in your local environment to point to your local mysql database:
export DATABASE_URL=mysql://user:password@localhost/myapp

0 comments on commit 6e34087

Please sign in to comment.
Something went wrong with that request. Please try again.