Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 952 Bytes

File metadata and controls

24 lines (16 loc) · 952 Bytes

Get started with ${app}

This is a starter application for Java with Cloudant NoSQL DB service.

The sample is a Favorites Organizer application, that allows users to organize and manage their favorites and supports different types in each category. This sample demonstrates how to access the Cloudant NoSQL DB service that binds to the application, using Cloudant Java APIs.

  1. Install the cf command-line tool.

  2. Download the starter application package.

  3. Extract the package and 'cd' to it.

  4. Connect to Bluemix:

     cf api ${api-url}
    
  5. Log into Bluemix:

     cf login -u ${username}
     cf target -o ${org} -s ${space}
    
  6. Compile the JAVA code and generate the war package using ant.

  7. Deploy your app:

     cf push ${app} -p JavaCloudantDB.war -m 512M
    
  8. Access your app: ${route}