搜索出来的帖子很多神坑
经过一翻的折腾,把过程整理一下
第一步,安装git。
第二步,git clone
git://github.com/c9/core.git c9sdk
第三步,cd c9sdk
第四步,sudo scripts/install-sdk.sh
第五步,node server.js
我这边提示要安装 node,根据提示 sudo apt-get install node
之后再次 node server.js -y 9090 -a (这里的-y 9090 指的是端口号)
--settings Settings file to use
--help Show command line options.
-t Start in test mode
-k Kill tmux server in test mode
-b Start the bridge server - to receive commands from the cli [default: false]
-w Workspace directory
--port Port
--debug Turn debugging on
--listen IP address of the server
--readonly Run in read only mode
--packed Whether to use the packed version.
--auth Basic Auth username:password
--collab Whether to enable collab.
--no-cache Don't use the cached version of CSS
随便开一个网页 localhost:9090 回车,你可以做很多事情了