Skip to content

Commit

Permalink
Update README and change to cloudantNoSQLDB
Browse files Browse the repository at this point in the history
  • Loading branch information
karasaj committed Sep 4, 2014
1 parent 43cc3ca commit 76fffac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Option A. Import the WAR File (Preferred)
-OR-

Option B. Import the Eclipse project by following these instructions: (Only if you want to modify the source code.)

1. Open Eclipse
2. Select File->Import
3. Under the header labeled "Git", click "Projects from Git" and click `Next`
Expand Down Expand Up @@ -109,9 +110,7 @@ Make sure you are in the Java EE [perspective](http://help.eclipse.org/juno/inde

![image](images/environment_variables.png)

You may do this step later, but your application will fail without it.

9. Click: Finish. Your app will deploy to Bluemix. If you haven't already created and bound your cloudant service, please refer to Step 5: Create a Cloudant Service
You may do this step later, but your application will fail without it. Click: `Finish`. Your app will deploy to Bluemix. If you haven't already created and bound your cloudant service, please refer to Step 5: Create a Cloudant Service

**CONGRATS!** Your app is now published to Bluemix.
(Note: It can take a few minutes to upload everything and deploy all of the services.)
Expand Down
2 changes: 1 addition & 1 deletion app/src/com/sampleapp/db/DBUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private DBUtil() {
// find instance of cloudant bound to app
while(iter.hasNext()){
String key = (String)iter.next();
if(key.startsWith("cloudant")){
if(key.startsWith("cloudantNoSQLDB")){
cloudant = vcap_services.getJSONArray(key);
}
}
Expand Down

0 comments on commit 76fffac

Please sign in to comment.