cloudfoundry-samples/scalatra-mongo-sample

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

Homepage:

Size: 109

Language: Scala

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

scalatra-mongo-sample

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

Deploying to Cloud Foundry

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'...

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.