diff --git a/README.md b/README.md index 2b7f80d..ac016cf 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,7 @@ Just `clone` and `make`: then `start` as service: ```shell - $ REPO="cmdb-rtm" \ -&& cd ${REPO} \ -&& npm start ; +$ npm start ``` - [x] It might looks like: diff --git a/bin/Utils.mk b/bin/Utils.mk index a5b6b20..4b2172e 100644 --- a/bin/Utils.mk +++ b/bin/Utils.mk @@ -9,7 +9,7 @@ include ./bin/.bash_colors .PHONY: state state: - @ echo "${BCyan}-------------------------------------------------------${NC}"; + @ echo ${BCyan}---------------------------------------------------------${NC}; @ echo ${BYellow}ENVIRONMENT VARS:${NC}; @ echo ${BCyan}APPLICATION:${NC}; @ echo "\t DT \t\t = ${DT}"; @@ -29,7 +29,7 @@ state: @ echo "\t DIR_BUILD \t = ${DIR_BUILD}"; @ echo "\t DIR_DIST \t = ${DIR_DIST}"; @ echo "\t DIR_WEB \t = ${DIR_WEB}"; - @ echo "${BCyan}-------------------------------------------------------${NC}"; + @ echo ${BCyan}---------------------------------------------------------${NC}; ## ------------------------------------------------------------------------ ## ## Lists all targets defined in this makefile ## diff --git a/bower.json b/bower.json index 25c7fea..feb9405 100644 --- a/bower.json +++ b/bower.json @@ -1,21 +1,10 @@ { "name": "cmdb-rtm" - , "description": "CMDB - Real Time Task Progress Monitoring" + , "description": "CMDB - Real Time Tasks Progress Monitoring" , "main": "server.js" , "moduleType": [ "amd" , "globals" ] - , "keywords": [ - "rtm" - , "data visualization" - , "real time hosting monitoring" - , "real time monitoring" - , "real time hosting" - , "real time charts" - , "real time graphs" - , "real time graphics" - , "real time visalization" - ] , "authors": [ "tbaltrushaitis@github.com" ] @@ -35,7 +24,7 @@ "admin-lte": "~2.3.2" , "animate.css": "~3.7.0" , "backbone": "~1.3.3" - , "bootstrap": "~3.3.7" + , "bootstrap": "~4.1.3" , "font-awesome": "~4.7.0" , "ionicons": "~4.4.6" , "jquery": "~3.3.1" @@ -49,8 +38,17 @@ , "use-amd": "~0.4.0" , "wdt-loading": "~0.1.0" } - , "dependenciesDisabled": { - "underscore": "~1.8.3" - } , "devDependencies": {} + , "dependenciesDisabled": {} + , "keywords": [ + "rtm" + , "data visualization" + , "real time hosting monitoring" + , "real time monitoring" + , "real time hosting" + , "real time charts" + , "real time graphs" + , "real time graphics" + , "real time visalization" + ] } diff --git a/config/.npmrc b/config/.npmrc new file mode 100644 index 0000000..b6b274b --- /dev/null +++ b/config/.npmrc @@ -0,0 +1,15 @@ +; cli configs +user-agent = "npm/{npm-version} node/{node-version} {platform} {arch}" +long = true + +; default values +color = always +fetch-retries = 1 +fetch-retry-maxtimeout = 5000 +fetch-retry-mintimeout = 1000 +init-author-email = "tbaltrushaitis@gmail.com" +init-author-name = "Baltrushaitis Tomas" +init-author-url = "https://github.com/tbaltrushaitis" +init-license = "MIT" +init-version = "1.0.0" +spin = always diff --git a/package.json b/package.json index 222f3db..2f98535 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cmdb-rtm" , "version": "0.0.2" , "title": "CMDB :: Real Time Visualization" - , "description": "CMDB - Real Time Task Progress Monitoring" + , "description": "CMDB - Real Time Tasks Progress Monitoring" , "readmeFilename": "README.md" , "homepage": "http://cmdb-rtm.gsm-center.com.ua" , "author": { @@ -29,6 +29,8 @@ , "scripts": { "start": "node app/server.js" , "build": "gulp build" + , "preinstall": "" + , "postinstall": "" } , "repository": { "type": "git" @@ -54,7 +56,7 @@ , "uuid": "^3.3.2" } , "devDependencies": { - "autoprefixer": "^9.2.1" + "autoprefixer": "^9.3.1" , "bower": "^1.8.4" } , "dependenciesDeprecated": { diff --git a/src/app/server.js b/src/app/server.js index 49ba9ab..008d49e 100644 --- a/src/app/server.js +++ b/src/app/server.js @@ -105,7 +105,7 @@ let connections = {} , spawnTime = Math.floor(Math.random() * 4000) + 1500 ; -console.log(`[${new Date().toISOString()}] [${utin(process.memoryUsage().rss)}] spawnTime: [${utin(spawnTime)}]`); +console.log(`[${new Date().toISOString()}] [RAM:${utin(process.memoryUsage().rss)}] spawnTime: [${utin(spawnTime)}]`); const app = express(); app.set('port', Config.get('app:port') || process.env.PORT || 8084);