OSDN Git Service

preparation for 4.0 trunk: move whole scripts just under trunk directory
[nucleus-jp/nucleus-jp-ancient.git] / nucleus / documentation / devdocs / custominstall.html
diff --git a/nucleus/documentation/devdocs/custominstall.html b/nucleus/documentation/devdocs/custominstall.html
new file mode 100755 (executable)
index 0000000..d2dc7fb
--- /dev/null
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja-JP" xml:lang="ja-JP">\r
+<head>\r
+       <!--\r
+               Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)\r
+               Copyright (C) 2002-2011 The Nucleus Group\r
+\r
+               This program is free software; you can redistribute it and/or\r
+               modify it under the terms of the GNU General Public License\r
+               as published by the Free Software Foundation; either version 2\r
+               of the License, or (at your option) any later version.\r
+               (see nucleus/documentation/index.html#license for more info)\r
+\r
+               @license http://nucleuscms.org/license.txt GNU General Public License\r
+               @copyright Copyright (C) 2002-2011 The Nucleus Group\r
+       -->\r
+       <!-- $Id$ -->\r
+       <!-- $NucleusJP: custominstall.html,v 1.5 2006/07/12 07:11:46 kimitake Exp $ -->\r
+       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
+    <link rel="index" href="./index.html" />\r
+       <title>Nucleus - インストールスクリプトのカスタマイズ</title>\r
+       <link rel="stylesheet" type="text/css" href="styles/manual.css" />\r
+       <script src="http://www.google.com/jsapi"></script>\r
+       <script type="text/javascript">\r
+               google.load("jquery", "1");\r
+               google.setOnLoadCallback(function() {\r
+                       $.getScript("javascript/fontsizeChanger.js");\r
+               });\r
+       </script>\r
+</head>\r
+<body>\r
+<div id="fontSizeChanger">\r
+<a href="#top" id="f_small">小</a>\r
+<a href="#top" id="f_medium">中</a>\r
+<a href="#top" id="f_large">大</a>\r
+</div>\r
+<div id="body">\r
+\r
+<div class="heading">\r
+インストールスクリプトのカスタマイズ\r
+</div>\r
+\r
+<p class="note">注:この機能はバージョン2.2以降のものです。</p>\r
+\r
+<h1>イントロダクション</h1>\r
+\r
+<p>\r
+<a href="index.html">開発者向けドキュメントの目次へ戻る</a>\r
+</p>\r
+\r
+<p>このドキュメントにはNucleusのインストール・スクリプトをどのようにカスタムするかという情報が書かれています。二つの方法でカスタマイズが可能です:</p>\r
+\r
+<ol>\r
+       <li>スキンの自動インストール</li>\r
+       <li>プラグインの自動インストール</li>\r
+</ol>\r
+\r
+<h1>設定</h1>\r
+\r
+<p><code>install/index.php</code>をエディタで開き、次のコードを探してください:</p>\r
+\r
+<pre><code>// array with names of plugins to install. Plugin files must be present in the nucleus/plugin/\r
+// directory.\r
+//\r
+// example:\r
+//      array('NP_TrackBack', 'NP_MemberGoodies')\r
+$aConfPlugsToInstall = array(\r
+       'NP_SkinFiles',\r
+);\r
+\r
+\r
+// array with skins to install. skins must be present under the skins/ directory with\r
+// a subdirectory having the same name that contains a skinbackup.xml file\r
+//\r
+// example:\r
+//      array('base','rsd')\r
+$aConfSkinsToImport = array(\r
+       'atom',\r
+       'rss2.0',\r
+       'rsd',\r
+       'default',\r
+);</code></pre>\r
+\r
+<p>やるべき事はこのコードを変更するだけです:自動インストールしたいプラグインとスキンの名前を、例のような配列リストにしてください。</p>\r
+\r
+<h1>ファイルの取り込み</h1>\r
+\r
+<p>設定を変更した次は、ディストリビューションにファイルを追加する必要があります。</p>\r
+\r
+<h2>プラグインとスキン</h2>\r
+\r
+<p>プラグインは、<code>nucleus/plugins/</code>ディレクトリにファイルをおいてください。プラグインを手動でインストールする場合にするのと全く同じです。</p>\r
+\r
+<p>スキンは、手動でインポートする時と同様に、<code>skins/</code>直下にディレクトリをおいてください。<code>skinbackup.xml</code>をそこに入れておくことをお忘れ無く。</p>\r
+\r
+<h1>忘れてはいけないこと</h1>\r
+\r
+<p>再配布する前に、カスタマイズされたインストールスクリプトをテストすることを忘れないでください。</p>\r
+\r
+</div>\r
+\r
+</body>\r
+</html>
\ No newline at end of file