rocketchat-app

rocketchat-app

Name Last Update
screenshots Loading commit data...
test Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
CHANGELOG Loading commit data...
CloudronManifest.json Loading commit data...
DESCRIPTION.md Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
POSTINSTALL.md Loading commit data...
README.md Loading commit data...
logo.png Loading commit data...
logo.svg Loading commit data...
start.sh Loading commit data...

Rocket.Chat Cloudron App

This repository contains the Cloudron app package source for Rocket.Chat.

Installation

Install

or using the Cloudron command line tooling

cloudron install --appstore-id chat.rocket.cloudronapp

Building

The app package can be built using the Cloudron command line tooling.

cd rocketchat-app

cloudron build
cloudron install

Testing

The e2e tests are located in the test/ folder and require nodejs. They are creating a fresh build, install the app on your Cloudron, backup and restore.

cd rocketchat-app/test

npm install
USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js

Debugging

In the Administration panel, enable debug output in Settings -> Logs.

MongoDB commands

cloudron exec
# mongo -u "${MONGODB_USERNAME}" -p "${MONGODB_PASSWORD}" ${MONGODB_HOST}:${MONGODB_PORT}/${MONGODB_DATABASE}
  • Get collection names using db.getCollectionNames()
  • To list a collection use db.rocketchat_settings.find()
  • For a specific key use db.rocketchat_settings.find({ _id: 'Site_URL' } )