cloud 9 ide拡張プラグイン学習初日

1411 ワード

初日:
見ましたhttps://cloud9-sdk.readme.io/cloud 9 de devサイトの後、cloud 9のpluginを書いてみます.
まず、自分のパソコンにcloud 9を導入します.
c 9のコード管理アドレスhttps://github.com/c9/core/を選択します.
簡単に言えば、次の手順に従います.
第一歩:gitをインストールします.ここでは具体的な紹介はしません.
ステップ2:cloneプロジェクトからローカルへ 
git clone git://github.com/c9/core.git c9sdk

ステップ3:
win 7ユーザーは公式ガイドとは少し違いますが、まずcd  scriptsファイルの下で、
install-sdk.sh

コマンド、インストール待ち.
インストールが完了すると、導入できます.
導入前にnodeをインストールする必要がありますが、ここでも詳しくは説明しません.
cdからcloneのプロジェクトディレクトリの下で、
node server.jsリンクの実行http://127.0.0.1:8181
cloud 9にアクセスできます.ここではパラメータ設定もいくつか用意されています.
--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

よく使われるのは-w  目次  作業区間の設定、-pポートの設定  , --auth  権限ユーザー名とパスワードを設定します.
これでcloud 9のプラグイン開発をローカルで行うことができます.