4 Home
Harutyun Amirjanyan edytuje tę stronę 2016-06-08 13:31:48 +04:00

#Installation

Follow these steps to install the SDK:

git clone git://github.com/c9/core.git c9sdk
cd c9sdk
scripts/install-sdk.sh

To update the SDK to the latest version run:

git pull origin master
scripts/install-sdk.sh

Please note that Cloud9 v3 currently requires Node.js 0.12 or 0.10. Starting Cloud9

Start the Cloud9 as follows:

node server.js

The following options can be used:

--settings       Settings file to use
--help           Show command line options.
-t               Start in test mode
-k               Kill tmux server in test mode
-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
--inProcessLocalFs  run localfs in same node process for debugging 
--useBrowserCache   use caches api for faster reloads (works only with https and localhost)

Now visit http://localhost:8181/ide.html to load Cloud9. Running Tests

Run server side tests with:

npm run test

Run client side tests with:

npm run ctest

Then visit http://localhost:8181/static/test in your browser.