[Groonga-commit] droonga/droonga.org at 69ca7d6 [gh-pages] Remove vagrant prompt

Back to archive index

Yoji Shidara null+****@clear*****
Thu Aug 29 12:53:31 JST 2013


Yoji Shidara	2013-08-29 12:53:31 +0900 (Thu, 29 Aug 2013)

  New Revision: 69ca7d6dabc51d3883e61f3969ddf6760d1bffd3
  https://github.com/droonga/droonga.org/commit/69ca7d6dabc51d3883e61f3969ddf6760d1bffd3

  Merged 5fadeb3: Merge branch 'setup-on-cloud' into gh-pages

  Message:
    Remove vagrant prompt

  Modified files:
    tutorial/index.md

  Modified: tutorial/index.md (+3 -3)
===================================================================
--- tutorial/index.md    2013-08-29 12:53:24 +0900 (a2c1989)
+++ tutorial/index.md    2013-08-29 12:53:31 +0900 (9ff1d9b)
@@ -262,7 +262,7 @@ Node.js のバージョンを表示して、先ほどインストールした `0
 
 frontend.js を実行します。
 
-    vagrant �� precise64:~/frontend$ node frontend.js
+    $ node frontend.js
        info  - socket.io started
 
 
@@ -270,7 +270,7 @@ frontend.js を実行します。
 
 準備が整いました。 frontend に向けて HTTP 経由でリクエストを発行し、データベースに問い合わせを行ってみましょう。まずは `Shops` テーブルの中身を取得してみます。以下のようなリクエストを用います。(`attributes=_key` を指定しているのは「検索結果に `_key` 値を含めて返してほしい」という意味です。これがないと、`records` に何も値がないレコードが返ってきてしまいます。`attributes` パラメータには `,` 区切りで複数の属性を指定することができます。`attributes=_key,location` と指定することで、緯度経度もレスポンスとして受け取ることができます)
 
-    vagrant �� precise64:~$ curl "http://localhost:3000/droonga/tables/Shops?attributes=_key"
+    $ curl "http://localhost:3000/droonga/tables/Shops?attributes=_key"
     {
       "result": {
         "count": 36,
@@ -315,7 +315,7 @@ frontend.js を実行します。
 
 もう少し複雑なクエリを試してみましょう。例えば、店名に「阿佐ヶ谷」を含むたいやき屋を検索します。`query` パラメータにクエリ `阿佐ヶ谷` を、`match_to` パラメータに検索対象として `_key` を指定し、以下のようなリクエストを発行します。
 
-    vagrant �� precise64:~$ curl "http://localhost:3000/droonga/tables/Shops?query=%E9%98%BF%E4%BD%90%E3%83%B6%E8%B0%B7&match_to=_key&attributes=_key"
+    $ curl "http://localhost:3000/droonga/tables/Shops?query=%E9%98%BF%E4%BD%90%E3%83%B6%E8%B0%B7&match_to=_key&attributes=_key"
     {
       "result": {
         "count": 2,
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index