end0tknr's kipple - web写経開発

太宰府天満宮の狛犬って、妙にカワイイ

Hello World - 静的ファイルを配備

次のurlの写経です
http://docs.dotcloud.com/firststeps/quickstart/

step1 index.htmlの生成

<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    Hello World!
  </body>
</html>

step2 アプリ用名前空間の作成

$ dotcloud create helloworldapp
Created application "helloworldapp"

step3 dotcloud.yml の作成

先程のindex.htmlと同じdirectoryに作成して下さい。

www:
  type: static

step4 配備

index.htmlやdotcloud.ymlのあるdirectoryに移動し

$ dotcloud push helloworldapp

↑このコマンドを起動し、しばらく待つと、http://helloworldapp-end0tknr.dotcloud.com/ に配備されます。