mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
added information about install
This commit is contained in:
parent
cd4d99dcae
commit
fe95e52535
3 changed files with 22 additions and 8 deletions
19
README.md
19
README.md
|
|
@ -28,6 +28,16 @@ Limited-mode features:
|
|||
- no local caching
|
||||
- full loading of all web page(with styles, js-scripts, html-page etc).
|
||||
|
||||
Installing
|
||||
---------------
|
||||
**Cloud Commander** installing is very easy. All you need it's just clone
|
||||
repository from github. Install and start, just 3 commands:
|
||||
|
||||
git clone git://github.com/coderaiser/cloudcmd.git
|
||||
cd cloudcmd
|
||||
node server.js
|
||||
|
||||
|
||||
Hot keys:
|
||||
---------------
|
||||
In all modern web browsers (but not in IE, becouse he special) hot keys works.
|
||||
|
|
@ -42,12 +52,9 @@ Additional modules:
|
|||
---------------
|
||||
**Cloud Commander** not using additional modules for main functionality.
|
||||
But for minification and optimization tricks optional can be
|
||||
assingned (and installed) modules:
|
||||
- [UglifyJS] (https://github.com/mishoo/UglifyJS)
|
||||
- [clean-css] (https://github.com/GoalSmashers/clean-css)
|
||||
- [html-minifier] (https://github.com/kangax/html-minifier)
|
||||
- [css-b64-images] (https://github.com/Filirom1/css-base64-images)
|
||||
assingned (and installed) module: [Minify] (https://github.com/coderaiser/minify "Minify")
|
||||
|
||||
Install addtitional modules:
|
||||
|
||||
npm i uglify-js clean-css html-minifier css-b64-images
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit fa1362fca72938de1af93f5cf01e6a450e009c88
|
||||
Subproject commit 33f1283267d19de96106e64a883fadfd2f0cdd96
|
||||
|
|
@ -153,7 +153,14 @@ CloudServer.Minify={
|
|||
if(this._allowed.css ||
|
||||
this._allowed.js ||
|
||||
this._allowed.html){
|
||||
var lMinify = require(CloudServer.LIBDIRSERVER+'/minify');
|
||||
try
|
||||
var lMinify = require(CloudServer.LIBDIRSERVER+'/minify');
|
||||
catch(pError){
|
||||
console.log('Could not minify withou minify module\n +
|
||||
'for fixing type:\n' +
|
||||
'git submodule init\n' +
|
||||
'git submodule update');
|
||||
}
|
||||
|
||||
this.done.js=this._allowed.js?
|
||||
lMinify.jsScripts(['client.js',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue