在https://www.dotcloud.com/
$ dotcloud setup
dotCloud username or email: andych008
Password:
==> dotCloud authentication is complete! You are recommended to run `dotcloud check` now.
Administrator@www-ab4e2db6d68 ~/stack-python-postgresql
$ dotcloud check
==> Checking the authentication status
==> Client is authenticated as andych008
#创建一个应用ramen
$ dotcloud create ramen
#建立代码根目录
$ mkdir ramen-on-dotcloud
#进入代码根目录
$ cd ramen-on-dotcloud/
$ pwd
/home/Administrator/ramen-on-dotcloud
#这里写自己的代码………………好多,好多。其它也不多。
#连接应用ramen,只有连接应用后才能push代码
$ dotcloud connect ramen
#将当前目录的代码上传到ramen下面
$ dotcloud push
最后提示http://ramen-andych008.dotcloud.com可以访问,表示成功!
dotcloud env list
dotcloud url
dotcloud restart testandy.db
dotcloud run testandy.www
dotcloud logs
dotcloud open testandy
http://docs.dotcloud.com/0.9/services/static/
http://docs.dotcloud.com/0.4/services/python/
s
s