Groovy

Groovy language is supported only for the Grails Framework.

Usage

Create a Git repository for a Grails 1.3.7 or 2.0 app:

$ cd my-app
$ ls
application.properties    lib        src               target    web-app
my-app                scripts    stacktrace.log    test
$ grails integrate-with --git
| Created Git project files..
$ git init
Initialized empty Git repository in /Users/jjoergensen/my-app/.git/
$ git commit -m init
[master (root-commit) 7febdd9] init
58 files changed, 2788 insertions(+), 0 deletions(-)
create mode 100644 .classpath
create mode 100644 .gitignore
create mode 100644 .project
create mode 100644 application.properties
...

Create a Scalingo app

$ scalingo create my-app
Git remote scalingo added

Push the app to Scalingo

$ git push scalingo master
Counting objects: 73, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (69/69), done.
Writing objects: 100% (73/73), 97.82 KiB, done.
Total 73 (delta 2), reused 0 (delta 0)

-----> Grails app detected
-----> Grails 2.0.0 app detected
-----> Installing Grails 2.0.0..... done
-----> executing grails -plain-output -Divy.default.ivy.user.dir=/app/tmp/repo.git/.cache war

   |Loading Grails 2.0.0
   |Configuring classpath
...

Auto-detection

Scalingo auto-detects Grails apps by the existence of the my-app directory in the project root and the application.properties file is also expected to exist in the root directory.

Buildpack

More information at https://github.com/Scalingo/grails-buildpack.


Suggest edits

Groovy

©2024 Scalingo