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

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.

主站蜘蛛池模板: 长治县| 肇庆市| 仁化县| 郎溪县| 广水市| 余江县| 屏东县| 贵阳市| 信宜市| 夏邑县| 英山县| 栾川县| 深州市| 上林县| 呼玛县| 分宜县| 商洛市| 滨州市| 军事| 玉田县| 沧源| 那曲县| 奎屯市| 合水县| 乌鲁木齐市| 康马县| 海原县| 拉萨市| 荆州市| 思茅市| 巴林左旗| 江源县| 宁阳县| 濉溪县| 屯留县| 耒阳市| 古浪县| 剑阁县| 奇台县| 邹城市| 奉新县|