Skip to content

Commit ae025b8

Browse files
committed
[best practice] ほとんど翻訳完了
1 parent 3016fea commit ae025b8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

best_practices/creating-the-project.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ that follows these best practices:
291291
292292
.. tip::
293293

294+
Symfony 2.6 以上のバージョンを利用している場合は、``AppBundle`` は既に生成されています。
295+
それよりも古いバージョンの場合は、以下のコマンドで生成することができます。
294296
If you are using Symfony 2.6 or a newer version, the ``AppBundle`` bundle
295297
is already generated for you. If you are using an older Symfony version,
296298
you can generate it by hand executing this command:
@@ -299,13 +301,20 @@ that follows these best practices:
299301
300302
$ php app/console generate:bundle --namespace=AppBundle --dir=src --format=annotation --no-interaction
301303
304+
ディレクトリ構成の拡張
302305
Extending the Directory Structure
303306
---------------------------------
304307

308+
プロジェクトや基盤構造で Symfony のデフォルトのディレクトリ構成からいくつかの変更が必要になった場合は、
309+
``cache/``、``logs/``、``web/`` といったメインのディレクトリの場所を変更することができます。
310+
305311
If your project or infrastructure requires some changes to the default directory
306312
structure of Symfony, you can `override the location of the main directories`_:
307313
``cache/``, ``logs/`` and ``web/``.
308314

315+
さらに、Symfony3 がリリースされるときには、
316+
わずかに異なるディレクトリ構成となるでしょう。
317+
309318
In addition, Symfony3 will use a slightly different directory structure when
310319
it's released:
311320

@@ -324,6 +333,8 @@ it's released:
324333
├─ vendor/
325334
└─ web/
326335
336+
これは大きな変化ですが、現時点では Symfony2 のディレクトリ構成を使うことを推奨します。
337+
327338
The changes are pretty superficial, but for now, we recommend that you use
328339
the Symfony2 directory structure.
329340

0 commit comments

Comments
 (0)