Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

31 lines (22 loc) · 1.04 KB

ektorp-cloudant-example

Very simple sample app build with ektorp running against cloudant.com. The project is pretty much build upon example project found at http://www.ektorp.org/tutorial.html.

The project should be running out of box as follwing if you have maven installed:


  mvn clean install jetty:run 

Right now the project uses a cloudant database as a readonly user so you can not really can not create any new post.

If you want to point to your own cloudant account (so you can do write also), making the following changes: in file src/main/resources/couchdb.properties, replace the username and password with correct values.


  host=[username].cloudant.com
  username=[username]
  password=[password]
  port=443
  maxConnections=20
  connectionTimeout=1000
  socketTimeout=10000
  autoUpdateViewOnChange=true
  enableSSL=true
  relaxedSSLSettings=true