Changeset cb60f52b5c2a…
Parent 909d5fc8a86d…
by
Changes to one file · Browse files at cb60f52b5c2a Showing diff from parent 909d5fc8a86d Diff from another changeset...
@@ -1,64 +1,64 @@ - Serve
-=====
-
-.. module:: serve.dialog
- :synopsis: Dialog used to start/stop the web server
-
-.. figure:: figures/serve.png
- :alt: Web server dialog
-
-The serve tool is a wrapper for Mercurial's built-in web server. Once
-launched, any computer can attach to the http port and browse your
-repository(ies) or perform clone, pull, or even push operations (if you
-configure your server to allow it).
-
-Toolbar buttons:
-
- :guilabel:`Start`
- start the web server
- :guilabel:`Stop`
- stop the web server
- :guilabel:`Browse`
- open your default browser at the built-in web server
- :guilabel:`Configure`
- Configure repository web style, description, and access policies
-
-When the settings dialog is launched via the :guilabel:`Configure`
-button, it is run in the context of the current repository. Please
-visit the Mercurial wiki for detailed descriptions of the various
-web configurations.
-
-Multiple Repositories
----------------------
-
-If you wish to serve a many repositories with a single web server
-instance, you can create an :file:`hgwebdir.conf` text file with the
-following contents: ::
-
- [paths]
- / = /path/to/repositories/*
-
-The first path '/' is where the repositories will appear in the context
-of the web server and the second path describes here the repositories
-can be found on your computer. Multiple entries are possible.
-
-To use this file you must launch the TortoiseHg serve dialog from the
-command line via: :command:`hgtk serve --webdir-conf=hgwebdir.conf`.
-
-
-From command line
------------------
-
-The server tool can be started from command line ::
-
- hgtk serve [OPTION]...
-
- web server
-
- options:
-
- --webdir-conf name of the webdir config file
-
- use "hgtk -v help serve" to show global options
-
-.. vim: noet ts=4
+サーバ
+======
+
+.. module:: serve.dialog
+ :synopsis: Dialog used to start/stop the web server
+
+.. figure:: figures/serve.png
+ :alt: ウェブサーバダイアログ
+
+サーバツールは Mercurial 内蔵のウェブサーバのラッパーです。
+起動すればどんなコンピュータでも HTTP ポートでサービスを開始し、
+リポジトリの閲覧や、複製、プルだけでなく、サーバ設定を変更して許可することで
+プッシュも可能です。
+
+ツールバーボタン: ::
+
+ :guilabel:`開始`
+ ウェブサーバを開始します
+ :guilabel:`中止`
+ ウェブサーバを停止します
+ :guilabel:`ブラウザで開く`
+ 既定のブラウザを起動してリポジトリを表示します
+ :guilabel:`設定`
+ リポジトリのテーマ、説明、アクセスポリシーの設定をします
+
+:guilabel:`設定` ボタンを押すとそのリポジトリの設定ダイアログが開きます。
+サーバ設定の詳細については Mercurial の Wiki を参照してください。
+
+
+複数のリポジトリ
+----------------
+
+1つのウェブサーバプロセスで複数のリポジトリを運用したい場合は :file:`hgwebdir.conf`
+という名前のテキストファイルを作成し、そのファイルに次のような設定を記述してください: ::
+
+ [paths]
+ / = /path/to/repositories/*
+
+左辺の '/' はウェブサーバにアクセスするときのパスで、
+右辺の '/path/to/repositories/*' はローカルリポジトリのディレクトリパスです。
+ここに複数の項目を記述することができます。
+
+この設定ファイルを使用するためにウェブサーバダイアログを右クリックメニューから
+ではなく、コマンドラインから
+:command:`hgtk serve --webdir-conf=hgwebdir.conf`
+を実行して起動してください。
+
+
+コマンドラインからの実行
+------------------------
+
+サーバツールはコマンドラインから起動することもできます: ::
+
+ hgtk serve [OPTION]...
+
+ web server
+
+ options:
+
+ --webdir-conf name of the webdir config file
+
+ use "hgtk -v help serve" to show global options
+
+.. vim: noet ts=4
|
Loading...