Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save morika-t/5220680 to your computer and use it in GitHub Desktop.
Save morika-t/5220680 to your computer and use it in GitHub Desktop.

基本的にこのへんにならう。
http://docs.cloudfoundry.com/frameworks/java/spring/grails.html
http://blog.springsource.com/2011/04/12/one-step-deployment-with-grails-and-cloud-foundry/
http://docs.cloudfoundry.com/tools/deploying-apps.html

■アプリケーションに加える変更

+ BuildConfig.groovy

repositories {
  mavenRepo 'http://maven.springframework.org/milestone'
}
plugins {
  compile ":cloud-foundry:1.2.3"
}

+ Config.groovy

grails.plugin.cloudfoundry.username="demo@example.com"
grails.plugin.cloudfoundry.password="demopassword"

+ DataSource.groovy

■GGTS(Eclipse) + CloudFoundry Extension でのデプロイ

■vmc でのデプロイ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment