Skip to content

himulawang/prm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ParaNoidz Redis Manager

A Redis farm manager, can multi monitor and manipulate redis server.

Feature

  • Pure Javascript,based on Chrome and node.js

Server

  • node.js 0.8.x >=
  • Redis 2.6.x >=

Client

  • Chrome 27 >=

Configuration

./run.js

global.I_ABS_PATH = '/home/ila/project/prm/server/node_modules/i'; // ParaNoidz I Framework Path
global.APP_ABS_PATH = '/home/ila/project/prm/server'; // Server Path
global.STA_ABS_PATH = '/home/ila/project/prm/client'; // Client Path

./server/config/env.js:

exports.env = {
    WEB: {
        PORT: '8082', // Web port
    },
    RDB: {
        ENABLED: true,
        HOST: '127.0.0.1',
        PORT: '6379',
    },
};

./client/js/config/env.js:

var env = {
    APP: {
        NAME: 'prm',
        // 3: 'ERR', 4: 'WARNING', 5: 'NOTICE', 6: 'INFO', 7: 'DEBUG',
        LOG_LEVEL: 7,
    },
    JADE: {
        URI: '../../tpl/',
    },
    IDB: { // IndexedDB
        ENABLED: true,
        NAME: 'prm',
        VERSION: 2,
        SYNC_INTERVAL: 10000, // timer which will sync data to IndexedDB
    },
    WS: { // WebSocket
        ENABLED: true,
        URL: 'ws://' + window.location.host + '/',
        PROTOCOL: 'prm',
        AUTO_RECONNECT_INTERVAL: 800, // 0 is off
    },
    MGR: { // APP
        COLUMN: 5, // how many manager windows in one line

        MONITOR_MAX_LOG: 500, // monitor can display how many logs
        MONITOR_FILTER_INFO: true, // whether monitor filter redis command INFO, because node_redis will sent INFO periodically for testint connection is correct, but it's annoying.

        COMMANDER_MAX_LOG: 1000, // commander can display how many logs
    },
};

Start

Start server

node run.js

Enter to Chrome

http://localhost:8082/

Acknowledgement

About

A Redis Farm Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published