Name: scalatra-mongo-sample
Owner: Cloud Foundry Sample Applications
Description: A Simple Scalatra app that stores and retrieves messages from MongoDB.
Created: 2012-05-22 01:12:41.0
Updated: 2017-09-18 05:52:48.0
Pushed: 2012-07-26 21:46:34.0
Size: 109
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Simple Scalatra web app that stores and retrieves messages from Mongo. Demonstrates use of the cloudfoundry-runtime library to connect to services. Code was obtained from this blog post: http://janxspirit.blogspot.co.uk/2011/01/quick-webb-app-with-scala-mongodb.html
To deploy the application to Cloud Foundry, simply build the WAR and push it to Cloud Foundry using the provided manifest.yml file, supplying the application name and URL.
clean package
push
d you like to deploy from the current directory? [Yn]:
ication Name: messageapp
ication Deployed URL [messageapp.cloudfoundry.com]:
ing application 'messageapp'...