Navigation Menu

Skip to content

Commit

Permalink
Add more description how to install PGroonga on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 13, 2015
1 parent f6a5a6e commit 9154214
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions install/os-x.md
Expand Up @@ -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.

0 comments on commit 9154214

Please sign in to comment.