@@ -34,31 +34,23 @@ We support the newer versions of Chrome, Firefox and Safari.
3434
3535## Installation and Usage
3636
37+ If installing on Windows, please refer to [ Installation on Windows] ( ##installation-on-windows-experimental ) .
38+
3739Requirements:
3840
3941 * NodeJS ` >= 0.6.16 `
4042 * NPM ` >= 1.1.16 `
41- * libxml -dev
43+ * libxml2 -dev
4244
4345Install:
44- ``` sh
45- # Be sure you have sourcemint installed:
46- npm install -g sm
47-
48- # Then:
49- sm clone --dev https://github.com/ajaxorg/cloud9/tree/master cloud9
50-
51- # or
52- git clone https://github.com/ajaxorg/cloud9.git cloud9
53- cd cloud9
54- sm install
55- ```
5646
47+ git clone https://github.com/ajaxorg/cloud9.git
48+ cd cloud9
49+ npm install
5750
58- The above install steps create a ` cloud9 ` directory in your current directory. Just ` cd ` into it
59- and run ` bin/cloud9.sh ` to start:
51+ The above install steps create a ` cloud9 ` directory with a ` bin/cloud9.sh `
52+ script that can be used to start Cloud9 :
6053
61- cd cloud9
6254 bin/cloud9.sh
6355
6456Optionally, you may specify the directory you'd like to edit:
@@ -84,59 +76,34 @@ Cloud9 is compatible with all connect authentication layers,
8476to implement your own, please see the ` plugins-server/cloud9.connect.basic-auth ` plugin
8577on how we added basic authentication.
8678
87- ## Updating
88-
89- To update to the latest version (if this doesn't work, just make a fresh clone):
90-
91- git pull
92- sm update
93-
94- ` sm update ` does not currently install missing npm dependencies. To do so use:
79+ ## Installation on Windows (experimental)
9580
96- sm install
81+ If you're running Cloud9 on Windows you'll have to follow these steps as well:
9782
98- ## Development
83+ * Install [ Grep for Windows] ( http://gnuwin32.sourceforge.net/downlinks/grep.php )
84+ * Add ` C:\Program Files (x86)\GnuWin32\bin ` to your [ PATH] ( http://www.computerhope.com/issues/ch000549.htm )
85+ * Open a new instance of ` cmd ` with elevated rights (right click 'Run as adminstrator')
86+ * Now follow the steps under 'Install'
87+ * * Please note that the ` npm install ` fails due to a libxml error, but you can ignore that for now.*
9988
100- To work on a subcomponent that is copied into node_modules, you can use ` sm edit ` .
101- For instance, to work on ACE, run the following from the checkout root:
89+ To start Cloud9, please don't start through ` bin/cloud9.sh ` but rather via:
10290
103- sm edit ace
91+ node server.js [args]
10492
105- This is somewhat equivalent to ` npm link ` but instead of linking to a system wide
106- shared package it clones the source into the node_modules/<name > directory.
107- The idea is to only "edit" when you need to make changes and when done issue
108- "sm save <name >" (not yet implemented) which will pull up sourcetree to commit,
109- push code and switch package back to read mode (frozen). The status page
93+ Please note that there will be errors displayed regarding the ` find ` command,
94+ and that some features might not work.
95+ Feel free to improve the Windows experience and open a pull request.
11096
111- sm status
112-
113- shows problematic and improvement oriented action steps to improve the state of
114- the program. These relate to git status and dependency changes that need to be
115- made to bring the dependencies up to date and ready to publish which leads to deployment.
116-
117- The line on the status page will have a (W) if it is setup for editing.
118-
119- To launch Sourcetree for all dirty/ahead repositories in the dependency
120- tree use (need to have Sourcetree command-line tools installed (` stree ` )):
121-
122- sm fix
123-
124- The sourcemint package manager works alongside NPM so to link in a
125- (system-wide shared) NPM package use:
126-
127- rm -R node_modules/architect
128- npm link architect
129-
130- ` sm ` always works on your program sub-tree other than pulling things in
131- from the cache.
97+ ## Updating
13298
133- To view help info for cloud9 use :
99+ To update to the latest version (if this doesn't work, just make a fresh clone) :
134100
135- sm help
101+ git pull
102+ npm update
136103
137- To view usage info for ` sm ` use:
104+ ` npm update ` does not currently install missing dependencies. To do so use:
138105
139- sm -h
106+ npm install
140107
141108## Open Source Projects Used
142109
0 commit comments