月別アーカイブ: 9月 2008

そんなわけで、チラ裏からぺたぺたと。

Google Sitesがwikiベースなのがちょっと気になる。

ノートとは違うのかね。

wget http://nchc.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.2.tar.gz
tar zxvf MySQL-python-1.2.2.tar.gz
vi site.cfg
mysql_config = /usr/bin/mysql_config

python setup.py build
python setup.py install

svnadmin create /var/svn/testrails
cat <<’EOF’ > /var/svn/testrails/hooks/pre-revprop-change
#!/bin/sh
exit 0
EOF

chmod +x /var/svn/testrails/hooks/pre-revprop-change
svnsync init file:///var/svn/testrails svn+ssh://admin@code.twintail.tv/home/svn/testrails
svnsync sync file:///var/svn/testrails

sshを使っているので毎回パスワード聞かれる。鍵を作ってしまうか、httpで公開REPOにするかの判断。

retorspectivaにsvnsyncさせるには鍵認証にしてsyncコマンド送らせるか、設定のオプションにパスワード直書きするか。

迷う。

ruby-enterpriseで使えるように。

./configure RUBY=/usr/local/bin/ruby –enable-experimental-libtool –enable-shared –disable-static –with-apr=/usr/bin/apr-1-config –with-apr-util=/usr/bin/apu-1-config –with-apxs=/usr/sbin/apxs –with-openssl –enable-ssl –with-ssl
make
make install
make swig-rb
make install-swig-rb

チラ裏

gem install ruby-openid
svn co –config-dir=/srv/svn/config/client http://retrospectiva.googlecode.com/svn/extensions/1-1/openid_auth extensions/openid_auth
RAILS_ENV=production ruby script/rxm install openid_auth