Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 694 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 694 Bytes

bogchat

( temporarily aka shaolinchat aaka meowmeow yvonne's cat ((chat)) )

screenshot

$ npm install websocket node-localstorage mysql dotenv crypto-js
$ apt-get install mysql-server

need a .env file like this:

sql=password
sha=password
opermessage=message
aes=password

need a db bogchat with a table bogchat like this:

mysql> create table bogchat (
  id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
  postid INT,
  username VARCHAR(100),
  context TEXT(30000),
  favd INT
);

then

$ nodejs server.js

use nginx to host the files.. proxy pass listening on 1337.. needs SSL