[Groonga-commit] groonga/gcs [master] Use gcs-register-domain script

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 4日 (水) 18:18:57 JST


Yoji SHIDARA	2012-07-04 18:18:57 +0900 (Wed, 04 Jul 2012)

  New Revision: df6cfb804a806f17cc507e9be157e4cc7eb74ce7
  https://github.com/groonga/gcs/commit/df6cfb804a806f17cc507e9be157e4cc7eb74ce7

  Log:
    Use gcs-register-domain script

  Modified files:
    bin/gcs-import-examples

  Modified: bin/gcs-import-examples (+2 -3)
===================================================================
--- bin/gcs-import-examples    2012-07-04 18:17:02 +0900 (dc1b474)
+++ bin/gcs-import-examples    2012-07-04 18:18:57 +0900 (2c7d97d)
@@ -8,10 +8,9 @@ This script setup an example domain and import data into the domain.
 
 Prerequsites:
 
-1) You need to direct 'doc-example-00000000000000000000000000.localhost' and 'search-example-00000000000000000000000000.localhost' to 127.0.0.1 before trying this example. To do so:
+1) You need to direct 'doc-example-00000000000000000000000000.localhost' and 'search-example-00000000000000000000000000.localhost' to 127.0.0.1 before trying this example. The following command will make these entries on /etc/hosts:
 
-$ 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'
+$ sudo gcs-register-domain example
 
 2) You need to run gcs on port 7575. Just run gcs command without any options.
 
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



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