The new VFS based Cloud9 IDE with a focus on Stability, Performance and UX.
Installing c9v3 is super simple.
git clone git@github.com:ajaxorg/c9v3.git
cd c9v3
npm install
./server.js
The following options can be used:
-t Start in Testing Mode
-d Start in Debug Mode
-k Don't kill tmux at startup (only relevant when -t is set)
-w [path] Use [path] as workspace root dir. Defaults to root dir of project.
-p [port] Set the port to [port]. Defaults to 8181.
-l [host] Set the host to [host]. Defaults to 0.0.0.0.
Find the documentation at http://docs.c9.io:8080/.
The docs are protected by a username and password which we will give out on request.
http://localhost:8181/static/index.html
The plugin configuration for development mode is in configs/client-default.js.
[This is currently broken] To start the full UI in development mode use the following url:
http://localhost:8181/static/index.html?devel=1
The plugin configuration for development mode is in configs/client-devel.js.
In the following example the server name is localhost. Change this to your server name or ip address.
Running all tests:
http://localhost:8181/static/test.html
Running one specific test (in this case of the ace plugin):
http://localhost:8181/static/test.html?plugins/c9.ace/ace_test.js
Running multiple tests:
Keeping the UI after the test ran
http://localhost:8181/static/test.html?plugins/c9.ace/ace_test.js&remain=1
c9v3 uses git subtree as a way to manage the underlying repositories that are managed by us. To commit back to those repositories keep in mind that commits should not cross repository boundaries. Split up your commits per sub repo. The sub repos are all in the node_modules folder.
To pull from a repo use the following command:
git fetch <name> master
git subtree pull --prefix node_modules/<name> <name> master --squash
To push back to a repo use the following command:
git subtree push --prefix=node_modules/<name> <name> <branch_name>
For instance:
git subtree push --prefix=node_modules/ace ace fix/multi-cursor-weirdness
For more info see: http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/
Older versions of git don't have the subtree command. You can use nix to install the latest version of git:
scripts/install-git-subtree.sh