Skip to content

Commit

Permalink
Merge pull request #769 from yocomado/translate_installation_instruct…
Browse files Browse the repository at this point in the history
…ions

インストール > インストール方法 の翻訳
  • Loading branch information
NEKOGET committed Apr 4, 2017
2 parents 6e0dca2 + 56c4a77 commit 941e2e7
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions installation/instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ <h3 id="from_zip">Zip ファイルをダウンロードする</h3>
これは、 Composer コマンド <code class="cli">create-project fuel/fuel --prefer-dist .</code> が生成するものと全く同じものを含んでいます。
</p>

<h2 id="structure">Altering the default installation</h2>
<h2 id="structure">デフォルトのインストールを変更する</h2>

<p>
After installation, you will find a folder structure in your installation directory that looks like this:
インストール後、インストールしたディレクトリには次のようなフォルダ構造が配置されます:
</p>
<pre class="plain"><code>/
docs/
Expand All @@ -146,15 +146,15 @@ <h2 id="structure">Altering the default installation</h2>
</code></pre>

<p>
In this structure, the public directory in the source equals your web server's public document directory. If you can't define
your own public folder (or DocumentRoot) in your webserver configuration, Move its contents of the public directory to the folder
your provider dictates, i.e. public_html, public, htdocs, etc.
この構造では、ソース上の public ディレクトリは、 Web サーバの公開ディレクトリと同一です。
もし、Webサーバの設定で自分のパブリックフォルダ (またはドキュメントルート) を定義できない場合は、
public ディレクトリの内容をプロバイダが指定するフォルダ (public_htmlpublichtdocs など) に移動します。
</p>

<p>
If you want to re-locate the fuel directory, or any directory inside the fuel directory, you need to modify the constants defined
in the web frontloader (public/index.php) and the commandline frontloader (oil) so that they point to the correct app, core and
packages directories.
fuel ディレクトリの場所を変更したい場合、または fuel ディレクトリ内の任意のディレクトリを移動する場合、
正しい app 、 core および packages ディレクトリを指すように Web フロントローダー (public/index.php)
コマンドラインフロントローダー (oil) に定義された定数を変更する必要があります。
</p>

<p>インストールの後は、フレームワークがアクセスする必要のあるフォルダのパーミッションが正しいことを確認してください。 デフォルトのフォルダを書き込み可能にする
Expand All @@ -165,7 +165,7 @@ <h2 id="structure">Altering the default installation</h2>
Made writable: APPPATH/tmp
Made writable: APPPATH/config</code></pre>
<p>
If you haven't installed oil like documented at the top of this page, you can also run oil from the installation root directory using:
もしこのページのはじめに記載されている oil をインストールしていない場合は、次のようにインストールしたルートディレクトリから oil を実行することができます:
</p>
<pre class="cli"><code>$ cd /where/ever/your/virtualhost/root/is
$ php oil refine install
Expand All @@ -180,31 +180,31 @@ <h2 id="configuration">設定</h2>

<p>メインの設定は app/config/config.php にあります。好きに編集してください。</p>

<h2 id="url_rewriting">URL rewriting</h2>
<h2 id="url_rewriting">URL のリライト</h2>

<p>
Fuel comes with default rewrite rules for Apache (.htaccess) and IIS (web.config). You can find
these files in the web application DOCROOT, by default this is the "public folder". If you use Nginx,
please find an <a href="#nginx">example</a> here.
Fuel には Apache (.htaccess) IIS (web.config) のデフォルトの リライトルールが付属されています。
これらのファイルは Web アプリケーションの DOCROOT (デフォルトでは public フォルダ) で見つけることができます。
Nginx を使用する場合は、 <a href="#nginx">こちら</a>の例から見つけてください。
</p>
<p class="note">
Please note that in some default webserver configuration, URL rewriting is disabled by default. To
quickly check if this is the case, make a typo in your rewrite config (for example, in your .htaccess
file). If your webserver can read and process the file, a typo should give you a 500 Server error. If
the typo you introduced doesn't make a change, changes are rewriting or htaccess processing is disabled
in the global config.
デフォルトの Web サーバの構成によっては、 URL の rewrite がデフォルトで無効になっていることに注意してください。
このような場合を迅速にチェックするには、リライト定義 (例えば .htaccess) に入力ミスをします。
Web サーバがそのファイルを読み込み処理することができる場合は、入力ミスによって 500 サーバエラーになるはずです。
もしあなたが記述した入力ミスで変更がない場合は、リライトが書き換えられているかグローバル定義で htaccess 処理が無効に
なっています。
</p>


<h2 id="install_inside_root">ドキュメントルート内にインストールする</h2>

<p>For security reasons, it is strongly advised <strong>NOT</strong> to install Fuel inside your webserver's document root.</p>
<p>セキュリティ上の理由から、 Web サーバのドキュメントルート内に Fuel をインストールすることは <strong>強く推奨されていません</strong> </p>
<p>
しかしながらそうしたいケースもあります。例えば、Apache の大量の動的なバーチャルホストモジュールのある (ローカルの) 開発環境は、
Web サーバを再起動せずに新しい開発環境を素早く構築するために使用されます。
</p>
<p>
これが必要な場合、ルートと決めたフォルダに FuelPHP をインストールします。その後、publc フォルダに移動し、
これが必要な場合、ルートと決めたフォルダに FuelPHP をインストールします。その後、public フォルダに移動し、
すべてのファイルを 1つ上の階層に移動し、public フォルダを削除します。public フォルダの唯一の目的は、Web サーバのドキュメントルートのためのアンカーポイントを提供することです。
FuelPHP をドキュメントルートフォルダにインストールしたら、もはや必要ありません。
</p>
Expand Down

0 comments on commit 941e2e7

Please sign in to comment.