Permalink
Browse files

Docs: merge pull request #348 from jamesward/master

  • Loading branch information...
Peter Hilton
Peter Hilton committed Sep 20, 2011
1 parent 5cdda0f commit 3b5369d2accc6f8addf666150e499107edb00431
Showing with 7 additions and 1 deletion.
  1. +7 −1 documentation/manual/deployment.textile
@@ -1,6 +1,6 @@
h1. Deployment options
-Play applications can be deployed virtually anywhere: inside Servlet containers, as standalone servers, in Google Application Engine, Stack, a Cloud, etc...
+Play applications can be deployed virtually anywhere: inside Servlet containers, as standalone servers, on Heroku, Google Application Engine, Stack, a Cloud, etc...
h2. <a name="standalone">Standalone Play applications</a>
@@ -149,6 +149,12 @@ To scale the application to multiple ‘dynos’ run:
bc. heroku scale web=2
+To use the "Heroku Shared Database":http://devcenter.heroku.com/articles/database in production add the following to your @conf/application.conf@ file:
+
+bc. %prod.db=${DATABASE_URL}
+%prod.jpa.dialect=org.hibernate.dialect.PostgreSQLDialect
+%prod.jpa.ddl=update
+
Learn more in the "Heroku Dev Center":http://devcenter.heroku.com.

0 comments on commit 3b5369d

Please sign in to comment.