dotcloudを試してみた
- dotcloudの設定
sudo easy_install dotcloud
pypiから「dotcloud」のツールがインストールされる
$ dotcloud Warning: /Users/shinriyo/.dotcloud/dotcloud.conf does not exist. Enter your api key (You can find it at http://www.dotcloud.com/accounts/settings): ここにあなたのキーを error: usage: dotcloud [-h] {info,status,scale,run,logs,versions,url,setup,list,stats,var,restart,alias,rollback,push,destroy,create,ssh,history} ...
https://www.dotcloud.com/settings/
へアクセスしてから、APIkeyに書かれたキーを入力する。
エラー出るが気にしなくていいっぽい
- node.jsのインストール
node.jsはdotcludで使うんだけど、ローカルにも入れたいのでインストール
http://nodejs.org/#download
から手動で「node-v0.4.12.tar.gz Source Code」をダウンロードした
tar zxvf node-v0.4.12.tar.gz cd node-v0.4.12 ./configure
このとき↓のコマンドでconfigureすればインストール先も変えられる
デフォルトで、インストール先は「/usr/local」配下になる。
./configure --prefix=<インストールしたい場所>
Build failed: -> task failed
こんなエラーが・・・・