Store Community Support Documentation

Help setup Instant Messaging.

I install Redis, NodeJS and npm. Rename PF.Site/Apps/core-im/server/config.js.new to config.js.

Setup file config.js.

Site doesn't support SSL.

But Instant Messaging not work.

In terminal:

[root@***]# node -v

v9.11.2
[root@***]# npm -v
5.6.0

If i run commant node index.js on terminal, error:
[root@***]# node index.js

internal/modules/cjs/loader.js:550
    throw err;
    ^

Error: Cannot find module '/root/index.js'

    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
    at Function.Module._load (internal/modules/cjs/loader.js:475:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
    at startup (internal/bootstrap/node.js:201:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:516:3)


Help please setup Instant Messaging!

 

Last update on December 5, 3:17 pm by Vetal.
Vivian
#1

Please follow the instruction at https://docs.phpfox.com/display/FOX4MAN/Server+Setup+for+IM+Module

#2

I follow this instrustion, but IM not work!!!

If Phpfox use Node.js, provide good instruction to setup IM, step by step.