null+****@clear*****
null+****@clear*****
2012年 7月 3日 (火) 20:55:31 JST
Kouhei Sutou 2012-07-03 20:55:31 +0900 (Tue, 03 Jul 2012) New Revision: f1861f3cc9511e257e349f0e61d830885312166b https://github.com/groonga/gcs.groonga.org/commit/f1861f3cc9511e257e349f0e61d830885312166b Log: tutorial: use relative path Modified files: docs/tutorial/index.md Modified: docs/tutorial/index.md (+7 -7) =================================================================== --- docs/tutorial/index.md 2012-07-03 20:51:03 +0900 (45869e4) +++ docs/tutorial/index.md 2012-07-03 20:55:31 +0900 (9a0ab84) @@ -15,7 +15,7 @@ Groonga CloudSearch requires name-based virtualhosts configured. These commands $ 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%" /> +<img src="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. @@ -25,7 +25,7 @@ You need to start GCS server. Run gcs command: $ gcs -<img src="/tutorial/gcs-started.png" alt="gcs server started" width="100%" /> +<img src="gcs-started.png" alt="gcs server started" width="100%" /> GCS server will listen at http://127.0.0.1:3000/. @@ -35,12 +35,12 @@ You can import example data into GCS with gcs-import-examples command. Use anoth $ 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%" /> +<img src="gcs-import-examples.png" alt="starting gcs-import-examples command" width="100%" /> +<img src="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%" /> +<img src="gcs-import-examples-finished.png" alt="gcs-import-examples finished" width="100%" /> ## Search documents @@ -48,12 +48,12 @@ Hit enter to start importing. 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%" /> +<img src="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%" /> +<img src="json-search-response.png" alt="JSON search response" width="100%" /> ## Next step -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download