From 27deb5d0767c9b1419dd120a8905d3eba66d9c59 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 14:03:31 +0300 Subject: [PATCH 1/8] minor changes --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 1f76da2f..579fde8f 100644 --- a/config.json +++ b/config.json @@ -7,7 +7,7 @@ "img" : false }, "server" : true, - "logs" : false + "logs" : false, "port" : 31337, "ip" : "127.0.0.1" } \ No newline at end of file From a203cc45744b68d700ea396c92dfe2053550aed5 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 14:11:59 +0300 Subject: [PATCH 2/8] added information about config.json --- README.md | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ac977f5..642e27f3 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Benefits (with refresh opportunity).* - caching readed directories *to localStorage (for now) (so if network will disconnected or something heppen with a signal, we -definitely will can work cached copy of directory listings)*; +definitely will can work with cached copy of directory listings)*; - key binding - disabled js support *(working in limited mode)*. - automated minification *client js-files and onstart-reading Cloud manager files on server starting.* @@ -39,6 +39,11 @@ There is a short list: - Alt + s - get all key bindings back - up, down, enter - filesystem navigation +Editor's hot keys +--------------- +- f4 - open CodeMirror editor +- Esc - close CodeMirror editor + Installing --------------- **Cloud Commander** installing is very easy. All you need it's just clone @@ -49,8 +54,26 @@ repository from github. Just 2 commands: or npm i cloudcmd - mv node_modules/cloudcmd ./cloudcmd + mv node_modules/cloudcmd ./ +Configuration +--------------- +All main configuration gould be done thrue config.json +```js +{ + "cache" : {"allowed" : true}, /* cashing of js and css files in memory*/ + "minification" : { /* minification of js,css and img */ + "js" : false, /* minify module neaded */ + "css" : false, /* npm i minify */ + "html" : true, + "img" : false + }, + "server" : true, /* server mode or testing mode */ + "logs" : false /* logs or console ouput */ + "port" : 31338, /* Cloud Commander port */ + "ip" : "127.0.0.1" /* Cloud Commander IP */ +} +``` Starting --------------- To start **Cloud Commander** only one command neaded: @@ -71,6 +94,12 @@ Updating you can just type in cloudcmd directory: git pull +or check new version on npm + npm info cloudcmd + +and then, if there is new version + npm r cloudcmd + npm i cloudcmd Additional modules --------------- From 5333115a859564a501fb50aa2c83289e63253764 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 15:14:21 +0300 Subject: [PATCH 3/8] minor changes --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 642e27f3..0f139396 100644 --- a/README.md +++ b/README.md @@ -58,20 +58,20 @@ or Configuration --------------- -All main configuration gould be done thrue config.json +All main configuration could be done thrue config.json. ```js { - "cache" : {"allowed" : true}, /* cashing of js and css files in memory*/ - "minification" : { /* minification of js,css and img */ - "js" : false, /* minify module neaded */ - "css" : false, /* npm i minify */ + "cache" : {"allowed" : true}, /* cashing of js and css files in memory */ + "minification" : { /* minification of js,css,html and img */ + "js" : false, /* minify module neaded */ + "css" : false, /* npm i minify */ "html" : true, "img" : false }, - "server" : true, /* server mode or testing mode */ - "logs" : false /* logs or console ouput */ - "port" : 31338, /* Cloud Commander port */ - "ip" : "127.0.0.1" /* Cloud Commander IP */ + "server" : true, /* server mode or testing mode */ + "logs" : false /* logs or console ouput */ + "port" : 31338, /* Cloud Commander port */ + "ip" : "127.0.0.1" /* Cloud Commander IP */ } ``` Starting From 368cb11b2831938c08bbb8a659b751c5ddb00032 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 15:15:18 +0300 Subject: [PATCH 4/8] minor changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f139396..9978994d 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ All main configuration could be done thrue config.json. "img" : false }, "server" : true, /* server mode or testing mode */ - "logs" : false /* logs or console ouput */ + "logs" : false, /* logs or console ouput */ "port" : 31338, /* Cloud Commander port */ "ip" : "127.0.0.1" /* Cloud Commander IP */ } From 0a601b99bad787e87bd4cfd6f67b4e6518860698 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 15:15:45 +0300 Subject: [PATCH 5/8] minor changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9978994d..dcce3ea6 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ There is a short list: Editor's hot keys --------------- -- f4 - open CodeMirror editor +- F4 - open CodeMirror editor - Esc - close CodeMirror editor Installing From 09adce79e5d8ffa01fe14618fa37a2a068b91071 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 15:16:09 +0300 Subject: [PATCH 6/8] minor changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dcce3ea6..0e2cb48e 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ All main configuration could be done thrue config.json. }, "server" : true, /* server mode or testing mode */ "logs" : false, /* logs or console ouput */ - "port" : 31338, /* Cloud Commander port */ + "port" : 31337, /* Cloud Commander port */ "ip" : "127.0.0.1" /* Cloud Commander IP */ } ``` From 91d5fe5cef809a654c01c0aa16f8aab03ebcfb79 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 15:50:16 +0300 Subject: [PATCH 7/8] no need in recursive cloning --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0e2cb48e..e3933d22 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Contributing If you would like to contribute - send pull request to dev branch. Getting dev version of **Cloud Commander**: - git clone cloudcmd --recursive + git clone cloudcmd git checkout dev It is possible thet dev version Cloud Commander will needed dev version of Minify, From 045fffbccff12d32ed30c1ae991925fa3f29288a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 23 Jul 2012 15:50:58 +0300 Subject: [PATCH 8/8] minor changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3933d22..30648422 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Contributing If you would like to contribute - send pull request to dev branch. Getting dev version of **Cloud Commander**: - git clone cloudcmd + git clone git://github.com/coderaiser/cloudcmd.git git checkout dev It is possible thet dev version Cloud Commander will needed dev version of Minify,