Mobircのconfig.yamlの設定メモ
configのsampleとの比較を含めて修正した点
- module: Authorizer::BasicAuth
config:
username: username
password: password
これは、ブラウザでアクセスしたときの認証。
- module: Component::IRCClient
config:
server: 127.0.0.1
port: 252322
nick: netwatcher
desc: Net Watcher
username: netwatcher
# password: netwatch
incode: utf-8
IRCClientの設定
server: localhost (自鯖なので)
port: 任意
nick: kenan とか
username:
password:
IRCサーバーに繋ぐのに認証が必要な場合(tiarraなので認証ありにしている)
incode: iso-2022-jp (これもtiarraの設定に依存)
UTF-8のが楽そうな気がする。
あとでtiarraの設定を見直し。
Server:
server-in-encoding: utf8
server-out-encoding: utf8client-in-encoding: jis
client-out-encoding: jisstdout-encoding: utf8
IRCNet:
in-encoding: jis
out-encoding: jisTwitterIrcGateway:
in-encoding: utf-8
out-encoding: utf-8
Mobircの続き
- module: Component::HTTPD
config:
port:
mobircに外部から何番ポートでアクセスするか
これも任意。通常のIRCとかなら6666とか6667とかを使用してると思うのでそのあたり?
tiarra使ってるならそれ以外で適当にするといいかも
iPhoneからSafariで見る場合MobileよりMobileAjaxのが便利そうなのでそちらを使用したい。
画面表示の設定は
あたりのcss,javascript,perlを編集すればよさそう。
terminalでdefaults write com.apple.Safari IncludeDebugMenu -bool true