Changeset 18752 for platform/tdiary
- Timestamp:
- 09/03/08 20:29:50 (3 months ago)
- Location:
- platform/tdiary/io/dbi_io
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/io/dbi_io/README.ja
r18587 r18752 1 1 !dbi_io 2 2 3 <dbname> �ǡ����١���̾('tDiaryDB') 4 <user> �ǡ����١��������������� 5 <password> �ǡ����١����������������<author> �������塢�ޥ��桼������������˻Ȥ��ޤ��� 3 <dbname> データベース名('tDiaryDB') 4 <user> データベースに接続するユーザ 5 <password> データベースに接続するパスワード 6 <author> 作者。今後、マルチユーザ対応するときに使います。 6 7 7 !! �ǡ����١����κ�8 !!データベースの作成 8 9 9 !!! PostgreSQL �ξ�10 !!! PostgreSQLの場合 10 11 11 12 $ createdb -h <host> -U <user> -E EUC-JP <dbname> … … 15 16 CREATE DATABASE 16 17 17 !!tdiary.conf ��Խ�18 !!tdiary.confの編集 18 19 19 20 #require 'tdiary/pstoreio' … … 21 22 require 'tdiary/dbi_io' 22 23 @io_class = TDiary::DbiIO 23 #-- dbi_io�ξ�����- 24 @dbi_driver_url = 'dbi:Pg:<dbname>' # URL��ꤷ�ޤ��� 25 @dbi_user = '<user>' # DB�Υ������� @dbi_passwd = '<password> # DB�Υѥ���� @dbi_author = '<author>' # author 24 #-- dbi_ioの場合の設定 -- 25 @dbi_driver_url = 'dbi:Pg:<dbname>' # URLを設定します。 26 @dbi_user = '<user>' # DBのアカウント 27 @dbi_passwd = '<password> # DBのパスワード 28 @dbi_author = '<author>' # author 26 29 27 !! �ץ饰������ȡ��������������ɽ���Τ������ץ饰����ʲ��Τ����줫���ˡ�ǥ��ȡ��뤹����������� 30 !! プラグインのインストール 31 リンク元の保存・表示のために、プラグインを以下のいずれかの 32 方法でインストールする必要があります 28 33 29 (1) tdiary.conf ��option['sp.path']�ˡ����Υǥ��쥯�ȥ�30 ����ugin�Υѥ���ä�����������fererDbiIO.rb31 ����롣34 (1) tdiary.confの@option['sp.path']に、このディレクトリに 35 あるpluginのパスを追加し、設定画面からrefererDbiIO.rb 36 を有効にする。 32 37 33 (2) tDiary �Υ��ȡ����ˤ���ugin�ǥ��쥯�ȥ���34 plugin/refererDbiIO.rb �ԡ����롣38 (2) tDiaryのインストール先にあるpluginディレクトリに、 39 plugin/refererDbiIO.rbをコピーする。 -
platform/tdiary/io/dbi_io/dbi_io.rb
r18587 r18752 4 4 # NAME dbi_io 5 5 # 6 # DESCRIPTION tDiary ����DBI�IO���饹7 # �ܺ٤ϡ�README.ja�Ȥ��Ƥ������6 # DESCRIPTION tDiary向けDBI用IOクラス 7 # 詳細は、README.jaを参照してください 8 8 # 9 9 # Copyright (C) 2003 ma2tak <ma2tak@ma2tak.dyndns.org> … … 116 116 end 117 117 118 # HNF �ܹԥġ������ᡢ��118 # HNF移行ツールのため、作成 119 119 def restore_diary(date) 120 120 diaries = {} … … 158 158 end 159 159 160 # ��å�å�for test160 # 追加メソッド for test 161 161 def delete(diaries) 162 162 diaries.each {|date, diary|
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)