Setting Up CouchDB on Windows 8

In this article we will have a look at downloading and setting up CouchDB on Windows 8.

In this article we will have a look at downloading and setting up CouchDB on Windows 8.  In this article I will not discuss the various concepts of CouchDB, rather I will show you the installation step-by-step and the creation of your first CouchDB database. In further articles we will go into details of various aspects of CouchDB.

Installation

To start with
download CouchDB installer from here. Choose Windows from all the given options.

CouchDB 1.jpg

After successful download, installation will start. We need to follow the screens to install CouchDB.

CouchDB2.jpg

In the next screen accept the agreement and click on "Next".

CouchDB3.jpg

Choose the location to install CouchDB.

CouchDB4.jpg

In this screen provide a shortcut name and click on "Next" to proceed further.

CouchDB5.jpg

We want to install CouchDB as a Windows Service. So select both options and click on "Next" to proceed further.

CouchDB6.jpg

Next confirm all the settings of the CouchDB installation and click on "Install" to install it. After successful installation you should get the following window.

CouchDB7.jpg

Testing installation and creating first database 

To test that the installation of CouchDB was successful navigate to http://127.0.0.1:5984/_utils/index.html 

In the browser you will find replications and user information.

CouchDB8.jpg
 

 Click on "Create Database" to create a new CouchDB database. Provide the desired name of the database and click on "Create".

CouchDB9.jpg

After the successful creation of the database you will find the database listed in the "Recent Databases" section.

CouchDB10.jpg

To add one document in the database click on "Create New Document". After successful creation of the document you will find that the "_id" and "_rev" attributes of the document has been set.  

CouchDB11.jpg

In this way we can set up CouchDB on a Windows environment. In further articles we will get into the details of various CouchDB aspects. I hope you find this article useful. Thanks for reading.