Cloud9 IDE是一個(gè)基于Node.JS構(gòu)建的JavaScript程序開發(fā)Web IDE。它擁有一個(gè)非??斓奈谋揪庉嬈髦С譃镴S, HTML, CSS和這幾種的混合代碼進(jìn)行著色顯示。Cloud9 IDE還為node.js和Google Chrome集成調(diào)試器可以在IDE中啟動(dòng)、暫停和停止。能夠在云計(jì)算環(huán)境中測(cè)試和部署你的代碼。使用WebDAV,它還可以連到遠(yuǎn)程工作臺(tái)。Cloud9 IDE擁有一個(gè)插件系統(tǒng)用來擴(kuò)展現(xiàn)有功能,當(dāng)前該IDE已經(jīng)捆綁好幾個(gè)插件。
雖說官方的現(xiàn)在是可以創(chuàng)建無數(shù)個(gè)public workspace,但是免費(fèi)用戶只能創(chuàng)建一個(gè)private workspace。
<h2>Installation</h2>
<h3>首選docker安裝</h3>
$~ mkdir /home/workspaces #首先設(shè)置工作目錄,自定義
$~ docker run -it -d -p 80:80 -v /home/workspaces/:/workspace/ kdelfour/cloud9-docker
當(dāng)然如果您感興趣的話,可以看看cloud9_dockerfile文件

view on http://yourip:8181


<h3>或者你可以選擇node環(huán)境下安裝</h3>
參照github文檔
這里需要node.js環(huán)境,如果未安裝,可以參照這里
$~ git clone --depth=1 git://github.com/c9/core.git cloud9
$~ cd cloud9/
$~ scripts/install-sdk.sh
$~ node server.js --auth admin:123456 --listen 0.0.0.0
view on http://yourip:8181
<h5>Starting Cloud9 啟動(dòng)Cloud9時(shí)的命令行參數(shù)</h5>
$~ node server.js
--settings Settings file to use 設(shè)置啟動(dòng)配置文件
--help Show command line options.幫助
-t Start in test mode 啟動(dòng)測(cè)試模式
-k Kill tmux server in test mode 在測(cè)試模式中殺死tmux終端
-b Start the bridge server - to receive commands from the cli [default: false]
-w Workspace directory 設(shè)置工作目錄
--port Port 端口號(hào)
--debug Turn debugging on 啟動(dòng)調(diào)試模式
--listen IP address of the server 偵聽ip,默認(rèn)應(yīng)該是0.0.0.0
--readonly Run in read only mode 只讀模式,不能進(jìn)行修改文件等操作
--packed Whether to use the packed version. 使用打包好的版本
--auth Basic Auth username:password 登陸時(shí)時(shí)使用http auth認(rèn)證 設(shè)置用戶名密碼
--collab Whether to enable collab. 是否設(shè)置collab
--no-cache Don't use the cached version of CSS 不進(jìn)行緩存


</br>
如果有什么其他的意見或者建議,歡迎在討論區(qū)留言噢~>-<