Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The IM app requires NodeJS and Redis. In this article we will go over how to setup NodeJS and Redis on the Linux Flavor, Ubuntu. We recommend that you separate your NodeJS, Redis and HTTP server from each other. Your HTTP server is the main web server that has your phpFox source code.

Hosting Services

There are cloud based services where you can host your NodeJS code and Redis database without having to setup anything on a server.

Setup on Your Own Servers

If you decide to setup NodeJS and Redis on your own web environments first connect to your NodeJS server and run the command

 

 

 

 

This tutorial requires advanced knowledge. We recommend you get professionals to do this if you are not at an advanced level.

Requires: phpFox version >= 4.5.2

In this tutorial, we are going to guide you on how to set up Chat server for Instant Messaging app.

The Instant Messaging app supports 2 options for Chat Server: NodeJS (with Redis) and Google Firebase. You can choose to use one of these options.

Google Firebase is the recommended option for scalability and high availability. However, you will need to pay for this Googe service.

Basing on the chosen chat server, please refer to the respective article for detailed instructions to setup Chat server:

Page Tree
rootServer Setup for IM Module

If you are using our native mobile apps, please also see How to support push notifications for new messages on phpFox Mobile apps