cloudfoundry-samples/zentasks-scala-cloudfoundry

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

Homepage:

Size: 100

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

zentasks sample application

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.

Deploying to Cloud Foundry

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.