[Groonga-commit] groonga/gcs.groonga.org [gh-pages] Write more on tutorial. Add screenshots.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 29日 (金) 15:21:24 JST


Yoji SHIDARA	2012-06-29 15:21:24 +0900 (Fri, 29 Jun 2012)

  New Revision: 458bcae80c06b14ab8055919f00640be465629e6
  https://github.com/groonga/gcs.groonga.org/commit/458bcae80c06b14ab8055919f00640be465629e6

  Log:
    Write more on tutorial. Add screenshots.

  Added files:
    tutorial/configure-hosts.png
    tutorial/gcs-import-examples-finished.png
    tutorial/gcs-import-examples-started.png
    tutorial/gcs-import-examples.png
    tutorial/gcs-started.png
    tutorial/json-search-response.png
    tutorial/web-ui.png
  Modified files:
    tutorial/index.md

  Added: tutorial/configure-hosts.png (+0 -0) 100644
===================================================================
(Binary files differ)

  Added: tutorial/gcs-import-examples-finished.png (+0 -0) 100644
===================================================================
(Binary files differ)

  Added: tutorial/gcs-import-examples-started.png (+0 -0) 100644
===================================================================
(Binary files differ)

  Added: tutorial/gcs-import-examples.png (+0 -0) 100644
===================================================================
(Binary files differ)

  Added: tutorial/gcs-started.png (+0 -0) 100644
===================================================================
(Binary files differ)

  Modified: tutorial/index.md (+27 -2)
===================================================================
--- tutorial/index.md    2012-06-29 15:14:57 +0900 (bd9e633)
+++ tutorial/index.md    2012-06-29 15:21:24 +0900 (45869e4)
@@ -10,26 +10,51 @@ Install Groonga Cloudsearch following [install instructions](../install/).
 
 ## Setup /etc/hosts
 
-Groonga CloudSearch requires name-based virtualhosts configured. These commands will add configurations to the domain "example".
+Groonga CloudSearch requires name-based virtualhosts configured. These commands will add configurations to the domain "example". Run these commands on the terminal:
 
     $ sudo sh -c 'echo "127.0.0.1 doc-example-00000000000000000000000000.localhost" >> /etc/hosts'
     $ sudo sh -c 'echo "127.0.0.1 search-example-00000000000000000000000000.localhost" >> /etc/hosts'
 
+<img src="/tutorial/configure-hosts.png" alt="configuring /etc/hosts" width="100%" />
+
+Note: A _domain_ encapsulates the data and search instances. See [Amazon CloudSearch Glossary - Amazon CloudSearch](http://docs.amazonwebservices.com/cloudsearch/latest/developerguide/Glossary.html#searchdomain) for details.
+
 ## Start GCS server
 
 You need to start GCS server. Run gcs command:
 
     $ gcs
 
+<img src="/tutorial/gcs-started.png" alt="gcs server started" width="100%" />
+
 GCS server will listen at http://127.0.0.1:3000/.
 
 ## Import example data
 
-You can import example data into GCS with gcs-import-examples command.
+You can import example data into GCS with gcs-import-examples command. Use another terminal and execute the following command:
 
     $ gcs-import-examples
 
+<img src="/tutorial/gcs-import-examples.png" alt="starting gcs-import-examples command" width="100%" />
+<img src="/tutorial/gcs-import-examples-started.png" alt="gcs-import-examples command started" width="100%" />
+
+Hit enter to start importing.
+
+<img src="/tutorial/gcs-import-examples-finished.png" alt="gcs-import-examples finished" width="100%" />
+
+
 ## Search documents
 
 Now you can search the documents. Open http://127.0.0.1:3000/ with your browser.
  Try 'tokyo' as a query.
+
+<img src="/tutorial/web-ui.png" alt="searching 'tokyo' with web UI" width="100%" />
+
+Now you can see the URL corresponding the query on the web interfece.
+When opened, you will see the response body.
+
+<img src="/tutorial/json-search-response.png" alt="JSON search response" width="100%" />
+
+## Next step
+
+To learn how to index the documents, [the source code of gcs-import-examples](https://github.com/groonga/gcs/blob/master/bin/gcs-import-examples) will help you.

  Added: tutorial/json-search-response.png (+0 -0) 100644
===================================================================
(Binary files differ)

  Added: tutorial/web-ui.png (+0 -0) 100644
===================================================================
(Binary files differ)
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Descargar 



Groonga-commit メーリングリストの案内
Back to archive index