|
| 1 | +.. _project-management: |
| 2 | + |
| 3 | +================== |
| 4 | + プロジェクト管理 |
| 5 | +================== |
| 6 | + |
| 7 | +.. |
| 8 | + ==================== |
| 9 | + Project Management |
| 10 | + ==================== |
| 11 | +
|
| 12 | +.. |
| 13 | + A :term:`project directory` is associated with a virtualenv, but |
| 14 | + usually contains the source code under active development rather than |
| 15 | + the installed components needed to support the development. For |
| 16 | + example, the project directory may contain the source code checked out |
| 17 | + from a version control system, temporary artifacts created by testing, |
| 18 | + experimental files not committed to version control, etc. |
| 19 | +
|
| 20 | +:term:`project directory` は virtualenv に関連付けられますが、開発を支援するために必要とされるコンポーネントをインストールするというより、普通は活発に開発中のソースコードを含みます。例えば、プロジェクトディレクトリは、バージョン管理システムからチェックアウトされたソースコード、まだバージョン管理システムにコミットされていないテストや実験的なファイルから作成された一時的なファイルを含むかもしれません。 |
| 21 | + |
| 22 | +.. |
| 23 | + A project directory is created and bound to a virtualenv when |
| 24 | + :ref:`command-mkproject` is run instead of |
| 25 | + :ref:`command-mkvirtualenv`. To bind an existing project directory to |
| 26 | + a virtualenv, use :ref:`command-setvirtualenvproject`. |
| 27 | +
|
| 28 | +プロジェクトディレクトリが作成して、 :ref:`command-mkvirtualenv` の代わりに :ref:`command-mkproject` を実行するときに virtualenv を束縛します。既存のプロジェクトディレクトリを virtualenv に束縛するには :ref:`command-setvirtualenvproject` を使ってください。 |
| 29 | + |
| 30 | +.. |
| 31 | + Using Templates |
| 32 | + =============== |
| 33 | +
|
| 34 | +テンプレートの利用 |
| 35 | +================== |
| 36 | + |
| 37 | +.. |
| 38 | + A new project directory can be created empty, or populated using one |
| 39 | + or more :term:`template` plugins. Templates should be specified as |
| 40 | + arguments to :ref:`command-mkproject`. Multiple values can be provided |
| 41 | + to apply more than one template. For example, to check out a Mercurial |
| 42 | + repository from on a project on bitbucket and create a new Django |
| 43 | + site, combine the :ref:`templates-bitbucket` and |
| 44 | + :ref:`templates-django` templates. |
| 45 | +
|
| 46 | +新しいプロジェクトディレクトリは、空のディレクトリ、または :term:`template` プラグインを使って作成されます。テンプレートは :ref:`command-mkproject` の引数として指定します。複数のテンプレートも適用できます。例えば、bitbucket のプロジェクトから Mercurial リポジトリをチェックアウトして新たに Django サイトを作成するには、 :ref:`templates-bitbucket` と :ref:`templates-django` のテンプレートを組み合わせて使います。 |
| 47 | + |
| 48 | +:: |
| 49 | + |
| 50 | + $ mkproject -t bitbucket -t django my_site |
| 51 | + |
| 52 | +.. seealso:: |
| 53 | + |
| 54 | + * :ref:`extensions-templates` |
| 55 | + * :ref:`variable-PROJECT_HOME` |
| 56 | + * :ref:`variable-VIRTUALENVWRAPPER_PROJECT_FILENAME` |
0 commit comments