Nav apraksta

deploy1 3949c0d4d2 aiai 7 gadi atpakaļ
screenshots 480c26ba68 Crop the screenshots to better fit the preview 10 gadi atpakaļ
test f849fb3072 oldPassword is not needed 7 gadi atpakaļ
.dbuild 3949c0d4d2 aiai 7 gadi atpakaļ
.dockerignore e35814fa56 Add screenshots 10 gadi atpakaļ
.gitignore 355b76dbde Add basic gitignore 9 gadi atpakaļ
CHANGELOG bc8bb3bd80 Version 1.10.1 7 gadi atpakaļ
CloudronManifest.json 967cc69970 aiai 7 gadi atpakaļ
DESCRIPTION.md bc8bb3bd80 Version 1.10.1 7 gadi atpakaļ
Dockerfile 967cc69970 aiai 7 gadi atpakaļ
LICENSE d287ff3cf5 Add MIT license 9 gadi atpakaļ
POSTINSTALL.md 9997a3841b Update the password 7 gadi atpakaļ
README.md 93db1f454b initial tests 10 gadi atpakaļ
TODO 205455534e Version 0.2.0 changes 9 gadi atpakaļ
VERSION 738ce35826 aiai 7 gadi atpakaļ
VERSIONLOG 738ce35826 aiai 7 gadi atpakaļ
config.json.template d9dd748776 upload_path has to be relative 10 gadi atpakaļ
logo.png 4d54489db4 update logo from github 10 gadi atpakaļ
logo.svg 28348497a2 Use autoconfiguration 10 gadi atpakaļ
start.sh 0ab2027f52 npm install removes older plugins 7 gadi atpakaļ

README.md

NodeBB Cloudron App

This repository contains the Cloudron app package source for NodeBB.

Installation

Install

or using the Cloudron command line tooling

cloudron install --appstore-id org.nodebb.cloudronapp@latest

Building

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

cd nodebb-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 nodebb-app/test

npm install
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.objects.find()