Sin descripción

Girish Ramakrishnan 1b864004f3 use latest base image hace 9 años
screenshots 480c26ba68 Crop the screenshots to better fit the preview hace 10 años
test 56e3ec5cd8 Adjust tests to backup subcommands hace 9 años
.dockerignore e35814fa56 Add screenshots hace 10 años
CHANGELOG 55c1dee6a9 Version 0.1.4 hace 9 años
CloudronManifest.json 55c1dee6a9 Version 0.1.4 hace 9 años
DESCRIPTION.md a0039f4ae2 Fix description hace 9 años
Dockerfile 1b864004f3 use latest base image hace 9 años
LICENSE d287ff3cf5 Add MIT license hace 9 años
README.md 93db1f454b initial tests hace 10 años
config.json.template d9dd748776 upload_path has to be relative hace 10 años
logo.png 4d54489db4 update logo from github hace 10 años
logo.svg 28348497a2 Use autoconfiguration hace 10 años
start.sh 4c85c239e7 Make email plugin work hace 10 años

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()