Mac OSX 10.5.6 ã«Remedieå ¥ãã¦ã¿ãã
ãã¡ããåèã«ããã¦ããããRemedieãå ¥ãã¦ã¿ãã
Remedieã使ãå§ããã®ã§ããã£ããæé ãã¾ã¨ãã¾ããã
Gitã®ã¤ã³ã¹ãã¼ã«
http://code.google.com/p/git-osx-installer/ ããã¤ã³ã¹ãã¼ã©ãè½ã¨ãã¦å®è¡ãæ®éã«å®äºã
Terminalãä¸ãã£ã¦ããã®ã§åèµ·åããã¦
$ which git
/usr/local/git/bin/git
ã§ã¤ã³ã¹ãã¼ã«ããããã¨ã確èªã
Remedieã®ã¤ã³ã¹ãã¼ã«
ãã¼ã ãã£ã¬ã¯ããªã§ä»¥ä¸ãå®è¡ã
$ git clone git://github.com/miyagawa/remedie.git
ããã¤ãã¡ãã»ã¼ã¸ãåºã¦åé¡ãªãå®äºã/Users/ã¦ã¼ã¶å/remedie ãåºæ¥ä¸ããã
CPANããPerlã¢ã¸ã¥ã¼ã«ãå ¥ããã
åèãµã¤ãã®ã¨ããã«æä½æ¥ã§ã¯ããã¦è¦ãããã©ã鬼ã®ããã«æéãããããããªã®ã§æ«æã
Perlã¯ä½¿ã£ããã¨ãããã©CPANã¯ä½¿ã£ããã¨ã®ãªã人ãªã®ã§æ¿ããéå¹çããã ããã©ã
http://backslash.ddo.jp/wordpress/index.php/archives/73
ãåèã«ããã¦ãããã以ä¸ã®ã¹ã¯ãªãããä½æããinstall_cpan_module_for_remedie.shãã¨ãã¦ä¿åã
2009.02.03ä¿®æ£ï¼
id:miyagawaããã«ãcpan -i, PERL_MM_USE_DEFAULT=1 ã使ãã¹ããã¨ã³ã¡ã³ããé ããã®ã§ã¡ãã£ã¨ä¿®æ£ã
#/bin/sh export PERL_MM_USE_DEFAULT=1 cpan -i 'Module::Install' cpan -i 'Feed::Find' cpan -i 'FindBin::libs' cpan -i 'HTTP::Engine' cpan -i 'Image::Info' cpan -i 'JSON::XS' cpan -i 'Log::Log4perl' cpan -i 'MIME::Types' cpan -i 'MooseX::ConfigFromFile' cpan -i 'MooseX::Getopt' cpan -i 'Path::Class' cpan -i 'Rose::DB' cpan -i 'Rose::DB::Object' cpan -i 'String::CamelCase' cpan -i 'XML::RSS::LibXML' cpan -i 'DBD::SQLite' cpan -i 'Log::Dispatch' cpan -i 'File::Find::Rule' cpan -i 'XML::Atom' cpan -i 'XML::Feed' cpan -i 'Template' cpan -i 'DateTime::Format::ISO8601' cpan -i 'MooseX::ClassAttribute' cpan -i 'File::Find::Rule::Filesys::Virtual' cpan -i 'HTML::ResolveLink' cpan -i 'HTML::Selector::XPath' cpan -i 'YAML::Syck' cpan -i 'Cache::FileCache' cpan -i 'Web::Scraper' cpan -i 'HTML::Scrubber' cpan -i 'Path::Class::Unicode' cpan -i 'Text::Tags::Parser' cpan -i 'String::ShellQuote' cpan -i 'XML::OPML::LibXML' cpan -i 'XML::LibXML::Simple' cpan -i 'Encode::JavaScript::UCS'
ããã¦å®è¡ã
$ chmod 755 ./install_cpan_module_for_remedie.sh $ sudo ./install_cpan_module_for_remedie.sh
13:20ç¾å¨ãå®è¡ä¸ã-> 13:40å®äºã
ç¶ãã¦ä»¥ä¸ãå®è¡ã
$ cd ~/remedie $ sudo perl Makefile.PL $ make $ make test
ãªããtestã§ã¨ã©ã¼ãã§ããSQLiteå¨ããããï¼
DBD::SQLite対ç
$ sudo capn span> install DBI ï¼ãããã表示ããã¦ï¼ /usr/bin/make install -- OK cpan> quit $ svn co http://svn.coderepos.org/share/lang/perl/DBD-YASQLite/trunk/ ./DBD-YASQLite $ cd DBD-YASQLite $ perl Makefile.PL $ make $ make test $ sudo make install
ãã£ã±ãtestã§ã¨ã©ã¼ãã§ããèªãã§ãããããããªãã¨ã©ã¼ãªã®ã§ã¨ããããç¡è¦ã
èµ·åãã¦ã¿ã
$ cd ~/remedie $ perl -Ilib -MRemedie::DB::Schema -e 'Remedie::DB::Schema->install' $ perl -Ilib ./bin/remedie-server.pl
ã§ããã©ã¦ã¶ã§ http://localhost:10010/ ãéãã
éããã¼ã
NHKã追å ãã¦ã¿ãã
表示ãããã¼ãåçããã¾ãããã¾ããããã°ãã使ã£ã¦ã¿ã¾ãã