火曜日, 3月 20, 2012

dotcloudperlが使えるということでやってみた。 サンプルままでは、まったくすんなり動いたのでモジュール(HTML::TableExtract)を追加してみたが、これもまた勝手にパースして取り込んでいる模様。すごい。
00962724@WK0706 ~/dotcloud
$ dotcloud push ramen ramen-on-dotcloud/
# upload ramen-on-dotcloud/ ssh://dotcloud@uploader.dotcloud.com:443/ramen
# rsync
Pseudo-terminal will not be allocated because stdin is not a terminal.
building file list ... done
helloperl/
helloperl/Makefile.PL

sent 1.13K bytes  received 40 bytes  180.31 bytes/sec
total size is 98.47K  speedup is 84.02
09:16:30 ---> Deploy of "ramen" scheduled for revision rsync-1332234989095 at 2012-03-20 09:16:30
09:16:30 ---> Building the application...
09:16:30 [www] Build started for revision rsync-1332234989095 (incremental build from revision rsync-1332234466305)
09:16:39 [www] --> Working on .
09:16:39 [www] Configuring /home/dotcloud/rsync-1332234989095/helloperl ... OK
09:16:39 [www] ==> Found dependencies: HTML::TableExtract
09:16:40 [www] --> Working on HTML::TableExtract
09:16:42 [www] Fetching http://search.cpan.org/CPAN/authors/id/M/MS/MSISK/HTML-TableExtract-2.11.tar.gz ... OK
09:16:42 [www] Configuring HTML-TableExtract-2.11 ... OK
09:16:43 [www] Building HTML-TableExtract-2.11 ... OK
09:16:43 [www] Successfully installed HTML-TableExtract-2.11
09:16:43 [www] <== Installed dependencies for .. Finishing.
09:16:43 [www] 1 distribution installed
09:16:45 [www] Build completed successfully. Compiled image size is 6MB
09:16:45 ---> Initializing new services... (This may take a few minutes)
09:16:45 ---> No new services found
09:16:45 ---> All services have been initialized. Deploying code...
09:16:45 [www.0] Deploying build revision rsync-1332234989095...
09:16:51 [www.0] Running postinstall script...
09:16:53 [www.0] Launching...
09:16:54 [www.0] Waiting for the service to become responsive...
09:16:55 [www.0] Re-routing traffic to the new build...
09:16:56 [www.0] Successfully deployed build revision rsync-1332234989095
09:16:56 ---> Deploy finished

Deployment finished. Your application is available at the following URLs
www: http://ramen-a6tyktfl.dotcloud.com/

00962724@WK0706 ~/dotcloud
$