2.1.3 • Published 4 years ago

simple-message-notifier v2.1.3

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

npm install -g --save simple-message-notifier

git clone https://github.com/Armen6964/simple-message-notifier.git

open ./config/global.js file

const port = 8020; //change you'r server port here

{

host: 'localhost', //enter you'r mysql host

username: 'q', //enter you'r mysql username

password: 'q', //enter you'r mysql password

database: 'kanban', //enter you'r database name

dialect: 'mysql', //this server only work with mysql database so dont't edit this line

logging: false //Enable/Disable logging in console from sequelize ;

{ intervalInSeconds : 2, //update messageing sheduling time

 `https : {`
     
     `isEnabled : true, //enable or disable https`
      
     `keys : {`
 
         `ca : fs.readFileSync(__dirname+"/certs/ca.pem","utf-8"),` //setup path to your real ca.pem file
         
         `private : fs.readFileSync(__dirname+"/certs/private.key","utf-8"),` //setup path to your real private.pem file
        
         `cert : fs.readFileSync(__dirname+"/certs/cert.pem","utf-8")` //setup path to your real cert.pem file
 
    `}`
 
 `},`

};

host : https://{you'r host}:{your'r port}/add

TODO list