Skip to content

Notes on Running the Server Locally

mr_kite edited this page Jan 25, 2019 · 2 revisions

Quick Start

Rocket's quick start wiki is here. IMPORTANT: the following line in the Quick Start refers to the node version used in official rocket builds: "n 8.11.4 (use one similar to the official builds)". One way to check this is is to refer to Node Version at /admin/info of a running server. Will update this with a better method that doesn't require a previously running server - probably from the server code itself - when found.

Robo 3T

There are a number of ways to view and interact with mongodb. Just noting Robo 3T here because it was very quick to connect it to localhost. After download, under File>Connect click Create and create a Direct Connection to 127.0.0.1:3001.

Connecting Android Client in Emulator

  • Before building the client, set the following in /app/src/main/java/chat/rocket/android/helper/Constants.kt:

    const val WIDECHAT_DEV = true

This makes it so the client can login to non-prod servers.

  • At login, toggle to "http" and then enter "<ip of your machine as can be found in 'ifconfig'>:3000"
Clone this wiki locally