官术网_书友最值得收藏!

Futon

CouchDB comes with a built-in web-based administration console called Futon. Futon allows you to manage databases, users, and documents in a simple interface. The best part of Futon is that it's already installed and ready to go, since it comes packed with CouchDB.

Let's check it out:

  1. Open your browser.
  2. Go to http://localhost:5984/_utils/.
    Futon

    This is Futon's Overview page. On this page, you can see all of the databases in the CouchDB installation and the ability to create new ones. You should see the database test-db that we created in the previous steps, and you can also see the _users database that is in the CouchDB installation by default.

    If you look to the right-side of the window, you'll see Tools. We will use this when we cover Replicator later in the book.

  3. Let's dig further into our database test-db by clicking on the link for test-db in the database list on the Overview page.
    Futon

    The page you see is the database detail. In this page, you can see a list of all of the documents that are in our database along with some actions that you can perform on the selected database such as New Document, Security, Compact & Cleanup..., Delete Database, Search, and so on. It's worth noting that Futon is just a helper, and all of these functions are available through curl as well.

  4. Let's dig deeper into Futon by clicking on on a document, and you'll be forwarded to the document detail.
    Futon

    This data should look familiar! All of our keys are listed on the left, and the values are listed on the right.

主站蜘蛛池模板: 瑞丽市| 留坝县| 巢湖市| 白沙| 乐安县| 乐清市| 漳浦县| 阿鲁科尔沁旗| 九寨沟县| 万山特区| 万安县| 沁阳市| 乌海市| 聂荣县| 峡江县| 绥中县| 高雄市| 年辖:市辖区| 宝鸡市| 房山区| 西和县| 揭阳市| 厦门市| 泰宁县| 新乡市| 柳州市| 营口市| 萝北县| 故城县| 明溪县| 甘德县| 拉萨市| 于田县| 图片| 象山县| 全椒县| 定日县| 新平| 乐至县| 泰安市| 建瓯市|