![]() ![]() When the installation is finished we first need to navigate to the folder where we want to create the project in and than we can start the interactive command line tool of Roo: mkdir -p ~./playground/roo-mongodb-cloudfoundry-howtoĬd ~./playground/roo-mongodb-cloudfoundry-howto Next we need to install Spring Roo: brew install spring-roo If required, you can start MongoDB: sudo /usr/local/Cellar/mongodb/2.0.5-x86_64/bin/mongod ![]() If an error pops up during the installation or configuration of Spring Roo you can easily install MongoDB using Homebrew. I am not sure if MongoDB must be installed on the local machine, since I had it already installed. However we need Spring Roo to generate the project, entities, packages and so on and we need the command line tools of Cloud Foundry to be able to upload our application and start, restart and stop it. I will be deploying my app to Could Foundry and therefore my application will not be executed on my notebook. If you haven’t installed it yet, you can do that by executing the following line in Terminal.app: /usr/bin/ruby -e "$(/usr/bin/curl -fsSL )" I will be using Homebrew to install components. Since installing the required components on OS X 10.7 is not as easy as the tutorials and getting started guides suggest, I decided to write down what I did to get it all working. It will take some time until it is activated, thus you should signup now. In order to be able to deploy applications on Cloud Foundry, you need to create an account. ![]() Spring Roo is tool for rapid development in Java and Cloud Foundry is a Platform as a Service (PaaS) provider. For an university project I currently need to develop an application in Java using Spring Roo and MongoDB which should be deployed to Cloud Foundry. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |