This part discloses how to download and introduce PouchDB in your framework.
Introducing PouchDB
To work with PouchDB, you need to download the record .js document and remember it for your content. Following are the means to introduce PouchDB.
Stage 1
Visit the landing page of PouchDB site, by tapping the accompanying connection −
https://PouchDB.com/
Stage 2
Snap the Download button on the upper right hand side of the page as demonstrated in the above screen capture. This will download PouchDB-5.3.0.min.js in your framework.
Stage 3
Reorder the PouchDB-5.3.0.min.js to your working catalog and remember it for your JavaScript as demonstrated in the accompanying order.
<script src = "PouchDB-5.3.0.min.js"></script>
Introducing Pouch Using Node.js
You can likewise introduce PouchDB as Node.js module. Following are the means to introduce PouchDB utilizing Node.js.
Stage 1
Introduce Node.js by following the means given in the Installing Node.js part of our espresso content instructional exercise.
Stage 2
Open the order incite and execute the accompanying order. This will introduce PouchDB hub module in your framework.
npm install --save PouchDB
Downloading CouchDB
When disconnected, PouchDB stores information locally and works like an application. You can get to it online by associating with viable workers. As we probably are aware PouchDB can be associated with CouchDB, along these lines, lets introduce CouchDB as well. Following are the means to introduce CouchDB.
Stage 1
The authority site for CouchDB is http://couchdb.apache.org. On the off chance that you click the given connection, you can get the landing page of CouchDB official site as demonstrated in the accompanying screen capture.
Stage 2
On the off chance that you click on the download button that will prompt a page where the download connections of CouchDB in different organizations are given. The accompanying preview delineates the equivalent.
Stage 3
Pick the download connect for Windows Systems and select one of the gave mirrors to begin your download.
Introducing CouchDB
A windows executable arrangement couchdb-1.6.1_R16B02.exe record will be downloaded on your framework. Run the arrangement record and continue with the establishment.
Subsequent to introducing CouchDB in your framework effectively, open the envelope where CouchDB was introduced, go to the canister organizer, and start the worker by running a content record named couchdb.bat.
After establishment, open underlying web interface of CouchDB by visiting the accompanying connection − http://127.0.0.1:5984/. In the case of everything goes fine, this will give you a website page, which will have the accompanying yield.
{
"couchdb":"Welcome","uuid":"c8d48ac61bb497f4692b346e0f400d60",
"version":"1. 6.1",
"vendor": {
"version":"1.6.1","name":"The Apache Software Foundation"
}
}
You can cooperate with CouchDB web interface by utilizing the accompanying URL −
http://127.0.0.1:5984/_utils/
This shows you the file page of Futon, which is the web interface of CouchDB.
