[Groonga-commit] pgroonga/pgroonga.github.io at 9154214 [master] Add more description how to install PGroonga on OS X

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 13 20:52:52 JST 2015


Kouhei Sutou	2015-10-13 20:52:52 +0900 (Tue, 13 Oct 2015)

  New Revision: 9154214d49b417af68ea1f453b44540bd684795a
  https://github.com/pgroonga/pgroonga.github.io/commit/9154214d49b417af68ea1f453b44540bd684795a

  Message:
    Add more description how to install PGroonga on OS X

  Modified files:
    install/os-x.md

  Modified: install/os-x.md (+20 -0)
===================================================================
--- install/os-x.md    2015-10-13 20:52:44 +0900 (c5b5a59)
+++ install/os-x.md    2015-10-13 20:52:52 +0900 (29d7f5f)
@@ -15,6 +15,26 @@ You can install PGroonga by Homebrew:
 % brew install postgresql --with-pgroonga
 ```
 
+If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, you need to reinstall `groonga` package with `--with-mecab` option:
+
+```text
+% brew reinstall groonga --with-mecab
+```
+
+Create a database:
+
+```text
+% psql --command 'CREATE DATABASE pgroonga_test'
+```
+
+(Normally, you should create a user for `pgroonga_test` database and use the user.)
+
+Connect to the created database and execute `CREATE EXTENSION pgroonga`:
+
+```text
+% psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'
+```
+
 That's all!
 
 Try [tutorial](../tutorial/). You can understand more about PGroonga.
-------------- next part --------------
HTML����������������������������...
Download 



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