Navigation Menu

Skip to content

Commit

Permalink
Update Groonga document
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 22, 2015
1 parent 02e352c commit 8bec0a7
Show file tree
Hide file tree
Showing 57 changed files with 826 additions and 733 deletions.
24 changes: 14 additions & 10 deletions docs/contribution/development/release.html
Expand Up @@ -112,9 +112,13 @@ <h2>12.3.6.2. ビルド環境の準備<a class="headerlink" href="#id3" title="P
<div class="highlight-none"><div class="highlight"><pre>% sudo apt-get install -V debootstrap createrepo rpm mercurial python-docutils python-jinja2 ruby-full mingw-w64 g++-mingw-w64 mecab libmecab-dev nsis gnupg2
</pre></div>
</div>
<p>rinseのバージョンが古いとCentOS 5/6パッケージのビルドを行うことができません。
別途debパッケージを以下のコマンドを実行して最新版をインストールします。:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo dpkg -i rinse_1.9.2-1_all.deb
<p>Debian系(.deb)やRed Hat系(.rpm)パッケージのビルドには <a class="reference external" href="https://www.vagrantup.com/">Vagrant</a> を使用します。apt-getでインストールできるのは古いバージョンなので、Webサイトから最新版をダウンロードしてインストールすることをおすすめします。</p>
<p>Vagrantで使用する仮想化ソフトウェア(VirtualBox、VMwareなど)がない場合、合わせてインストールしてください。なお、VirtualBoxはsources.listにcontribセクションを追加すればapt-getでインストールできます。:</p>
<div class="highlight-none"><div class="highlight"><pre>% cat /etc/apt/sources.list
deb http://ftp.jp.debian.org/debian/ sid main contrib
deb-src http://ftp.jp.debian.org/debian/ sid main contrib
% sudo apt-get update
% sudo apt-get install virtualbox
</pre></div>
</div>
<p>また、rubyのrakeパッケージを以下のコマンドによりインストールします。:</p>
Expand Down Expand Up @@ -424,8 +428,8 @@ <h2>12.3.6.20. パッケージの動作確認<a class="headerlink" href="#id12"
<p>ビルドしたパッケージに対しリリース前の動作確認を行います。</p>
<p>Debian系もしくはRed Hat系の場合には本番環境へとアップロードする前にローカルのaptないしyumのリポジトリを参照して正常に更新できることを確認します。</p>
<p>ここでは以下のようにrubyを利用してリポジトリをwebサーバ経由で参照できるようにします。:</p>
<div class="highlight-none"><div class="highlight"><pre>% ruby1.9.1 -run -e httpd -- packages/yum/repositories (yumの場合)
% ruby1.9.1 -run -e httpd -- packages/apt/repositories (aptの場合)
<div class="highlight-none"><div class="highlight"><pre>% ruby -run -e httpd -- packages/yum/repositories (yumの場合)
% ruby -run -e httpd -- packages/apt/repositories (aptの場合)
</pre></div>
</div>
<div class="section" id="grntest">
Expand Down Expand Up @@ -555,12 +559,12 @@ <h2>12.3.6.23. blogroonga(ブログ)の更新<a class="headerlink" href="#blogro
<p>基本的にはリリースアナウンスの内容をそのまま記載します。</p>
<p>cloneしたWebサイトのソースに対して以下のファイルを新規追加します。</p>
<ul class="simple">
<li>groonga.org/en/_post/(リリース日)-release.textile</li>
<li>groonga.org/ja/_post/(リリース日)-release.textile</li>
<li>groonga.org/en/_post/(リリース日)-release.md</li>
<li>groonga.org/ja/_post/(リリース日)-release.md</li>
</ul>
<p>編集した内容をpushする前に確認したい場合にはjekyllおよびRedClothが必要です
<p>編集した内容をpushする前に確認したい場合にはJekyllおよびRedCloth(Textileパーサー)、RDiscount(Markdownパーサー)、JavaScript interpreter(therubyracer、Node.jsなど)が必要です
インストールするには以下のコマンドを実行します。:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo gem1.9.1 install jekyll RedCloth
<div class="highlight-none"><div class="highlight"><pre>% sudo gem install jekyll RedCloth rdiscount therubyracer
</pre></div>
</div>
<p>jekyllのインストールを行ったら、以下のコマンドでローカルにwebサーバを起動します。:</p>
Expand All @@ -570,7 +574,7 @@ <h2>12.3.6.23. blogroonga(ブログ)の更新<a class="headerlink" href="#blogro
<p>あとはブラウザにてhttp://localhost:4000にアクセスして内容に問題がないかを確認します。</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>記事を非公開の状態でアップロードするには.textileファイルのpublished:をfalseに設定します。:</p>
<p>記事を非公開の状態でアップロードするには.mdファイルのpublished:をfalseに設定します。:</p>
<div class="last highlight-none"><div class="highlight"><pre>---
layout: post.en
title: Groonga 2.0.5 has been released
Expand Down
10 changes: 5 additions & 5 deletions docs/install/windows.html
Expand Up @@ -141,7 +141,7 @@ <h2>2.1.3. Build from source<a class="headerlink" href="#build-from-source" titl
Windows. Here are required tools:</p>
<blockquote>
<div><ul class="simple">
<li><a class="reference external" href="http://www.microsoft.com/japan/msdn/vstudio/express/">Microsoft Visual Studio 2010 Express</a></li>
<li><a class="reference external" href="https://www.visualstudio.com/downloads/#d-2013-express">Microsoft Visual Studio Express 2013 for Windows Desktop</a></li>
<li><a class="reference external" href="http://www.cmake.org/">CMake</a></li>
</ul>
</div></blockquote>
Expand All @@ -157,9 +157,9 @@ <h2>2.1.3. Build from source<a class="headerlink" href="#build-from-source" titl
</pre></div>
</div>
<p>Configure by <tt class="docutils literal"><span class="pre">cmake</span></tt>. The following commnad line is for 64-bit
version. To build 32-bit version, use <tt class="docutils literal"><span class="pre">-G</span> <span class="pre">&quot;Visual</span> <span class="pre">Studio</span> <span class="pre">10&quot;</span></tt>
version. To build 32-bit version, use <tt class="docutils literal"><span class="pre">-G</span> <span class="pre">&quot;Visual</span> <span class="pre">Studio</span> <span class="pre">12</span> <span class="pre">2013&quot;</span></tt>
parameter instead:</p>
<div class="highlight-none"><div class="highlight"><pre>groonga-5.0.2&gt; cmake . -G &quot;Visual Studio 10 Win64&quot; -DCMAKE_INSTALL_PREFIX=C:\groonga
<div class="highlight-none"><div class="highlight"><pre>groonga-5.0.2&gt; cmake . -G &quot;Visual Studio 12 2013 Win64&quot; -DCMAKE_INSTALL_PREFIX=C:\Groonga
</pre></div>
</div>
<p>Build:</p>
Expand All @@ -170,8 +170,8 @@ <h2>2.1.3. Build from source<a class="headerlink" href="#build-from-source" titl
<div class="highlight-none"><div class="highlight"><pre>groonga-5.0.2&gt; cmake --build . --config Release --target Install
</pre></div>
</div>
<p>After the above steps, <a class="reference internal" href="../reference/executables/groonga.html"><em>groonga command</em></a> is found in
<tt class="docutils literal"><span class="pre">c:\groonga\bin\groonga.exe</span></tt>.</p>
<p>After the above steps, <a class="reference internal" href="../reference/executables/groonga.html"><em>groonga command</em></a> is found at
<tt class="docutils literal"><span class="pre">c:\Groonga\bin\groonga.exe</span></tt>.</p>
</div>
</div>

Expand Down

0 comments on commit 8bec0a7

Please sign in to comment.