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

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.

主站蜘蛛池模板: 弥渡县| 毕节市| 苍山县| 荔浦县| 满城县| 天峨县| 交城县| 伊川县| 灵丘县| 抚州市| 连平县| 聂拉木县| 嘉善县| 建始县| 阿拉尔市| 正镶白旗| 阿合奇县| 额尔古纳市| 东源县| 天等县| 蓝山县| 汤阴县| 揭东县| 冕宁县| 揭东县| 章丘市| 凌海市| 乌兰浩特市| 准格尔旗| 辽阳县| 雅江县| 航空| 锡林浩特市| 图片| 郁南县| 望奎县| 长治县| 泸水县| 舒兰市| 武定县| 二连浩特市|