Navigation Menu

Skip to content

Commit

Permalink
Translate how to install on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 15, 2015
1 parent dce88f2 commit 69b91ee
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 0 deletions.
83 changes: 83 additions & 0 deletions _po/ja/install/os-x.po
@@ -0,0 +1,83 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2015-10-15 09:47+0900\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid ""
"---\n"
"title: Install on OS X\n"
"layout: en\n"
"---"
msgstr ""
"---\n"
"title: OS Xにインストール\n"
"layout: ja\n"
"---"

msgid "# Install on OS X"
msgstr "# OS Xにインストール"

msgid "This document describes how to install PGroonga on OS X."
msgstr "このドキュメントはPGroongaをOS Xにインストールする方法を説明します。"

msgid "{: #homebrew}"
msgstr ""

msgid "## How to install by Homebrew"
msgstr "## Homebrewを使ったインストール方法"

msgid "You can install PGroonga by Homebrew:"
msgstr "Homebrewを使ってPGroongaをインストールできます。"

msgid ""
"```text\n"
"% brew install postgresql --with-pgroonga\n"
"```"
msgstr ""

msgid ""
"If you want to use [MeCab](http://taku910.github.io/mecab/) based tokenizer, y"
"ou need to reinstall `groonga` package with `--with-mecab` option:"
msgstr ""
"[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga`パッケージを`--"
"with-mecab`オプション付きでインストールし直す必要があります。"

msgid ""
"```text\n"
"% brew reinstall groonga --with-mecab\n"
"```"
msgstr ""

msgid "Create a database:"
msgstr "データベースを作成します。"

msgid ""
"```text\n"
"% psql --command 'CREATE DATABASE pgroonga_test'\n"
"```"
msgstr ""

msgid ""
"(Normally, you should create a user for `pgroonga_test` database and use the u"
"ser.)"
msgstr "(通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを作るべきです。)"

msgid "Connect to the created database and execute `CREATE EXTENSION pgroonga`:"
msgstr "作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。"

msgid ""
"```text\n"
"% psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'\n"
"```"
msgstr ""

msgid "That's all!"
msgstr "これで終わりです!"

msgid "Try [tutorial](../tutorial/). You can understand more about PGroonga."
msgstr "[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。"
42 changes: 42 additions & 0 deletions ja/install/os-x.md
@@ -0,0 +1,42 @@
---
title: OS Xにインストール
layout: ja
---

# OS Xにインストール

このドキュメントはPGroongaをOS Xにインストールする方法を説明します。

{: #homebrew}

## Homebrewを使ったインストール方法

Homebrewを使ってPGroongaをインストールできます。

```text
% brew install postgresql --with-pgroonga
```

[MeCab](http://taku910.github.io/mecab/)ベースのトークナイザーを使いたい場合は、`groonga`パッケージを`--with-mecab`オプション付きでインストールし直す必要があります。

```text
% brew reinstall groonga --with-mecab
```

データベースを作成します。

```text
% psql --command 'CREATE DATABASE pgroonga_test'
```

(通常は`pgroonga_test`データベース用のユーザーを作ってそのユーザーを作るべきです。)

作成したデータベースに接続し、`CREATE EXTENSION pgroonga`を実行します。

```text
% psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'
```

これで終わりです!

[チュートリアル](../tutorial/)を試してください。PGroongaについてもっと理解できるはずです。

0 comments on commit 69b91ee

Please sign in to comment.