This application is basically a simple roo application.
Download the source code from git.
Note: This project is build with roo 1.2.3
$ mkdir App42PaaS-Roo-Sample
$ cd App42PaaS-Roo-Sample
$ roo
____ ____ ____
/ __ / __ / __ \
/ // / / / / / / /
/ , / // / // /
// ||_/__/ W.X.Y.ZZ [rev RRR]
Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. roo> project --topLevelPackage com.shephertz.app42.paas roo> web mvc setup roo> web mvc all --package ~.web
1. Run the following Roo command to create war:
roo> perform package
1. Run the following Maven command to create war:
$ mvn clean
$ mvn install
1. Run the app42 deploy command.
$ app42 deploy
$ Enter App Name: <your_app_name>
$ 1: Binary
$ 2: Source
$ Choose Upload Type [Binary]: 1
$ Would you like to deploy from the current directory? [Yn]: n
$ Binary Deployment Path: <your_binary_path>
$ This process may take a while, be patient with it.
$ Deploying Application... OK
$ Please wait it may take few minutes.
$ Latest Status....|
$ App deployed successfully.
1. Run the app42 deploy command.
$ app42 deploy
$ Enter App Name: <your_app_name>
$ 1: Binary
$ 2: Source
$ Choose Upload Type [Binary]: 2
$ Enter Git URL?: <your_public_git_url>
$ Deploying Application... OK
$ Please wait it may take few minutes.
$ Latest Status....|
$ App deployed successfully.