Name: zentasks-scala-cloudfoundry
Owner: Cloud Foundry Sample Applications
Description: A slight reworking of the Play framework 2.1.1 sample application - zentasks - to run on Cloud Foundry.
Created: 2013-05-29 06:06:55.0
Updated: 2017-12-11 09:38:45.0
Pushed: 2017-08-24 16:05:49.0
Size: 100
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a slight reworking of the Play framework 2.1.1 Scala-language sample application - zentasks
- to run on Cloud Foundry. The application uses PostgreSQL instead of the in-built H2 in-memory database.
PostgreSQL barked on the use of user
as a table name because user
is a reserved word. The queries used in the application have been updated accordingly to use users
instead.
To deploy the application to Cloud Foundry, simply build the dist and push it to Cloud Foundry using the provided manifest.yml
file.
ay dist
push
The host name field in the manifest.yml
include some random characters to make sure the URL for the app is unique in the Cloud Foundry environment. The output of the
cf app
command shows the URL that was assigned. Using the provided URL in the urls
field displayed, you can browse to the running application.