Sem descrição

Girish Ramakrishnan 6187791ed6 Use exec for proper SIGTERM handling há 9 anos atrás
screenshots 480c26ba68 Crop the screenshots to better fit the preview há 10 anos atrás
test b82daee5b0 Fixup the tests há 9 anos atrás
.dockerignore e35814fa56 Add screenshots há 10 anos atrás
.gitignore 355b76dbde Add basic gitignore há 9 anos atrás
CHANGELOG b695cd654d Bump version há 9 anos atrás
CloudronManifest.json b695cd654d Bump version há 9 anos atrás
DESCRIPTION.md 448a25efa9 Udpate to nodebb 1.4.3 há 9 anos atrás
Dockerfile 46ae0db3a3 Use nodebb 1.4.5 há 9 anos atrás
LICENSE d287ff3cf5 Add MIT license há 9 anos atrás
POSTINSTALL.md 13aeab8aca add post install message há 9 anos atrás
README.md 93db1f454b initial tests há 10 anos atrás
TODO 205455534e Version 0.2.0 changes há 9 anos atrás
config.json.template d9dd748776 upload_path has to be relative há 10 anos atrás
logo.png 4d54489db4 update logo from github há 10 anos atrás
logo.svg 28348497a2 Use autoconfiguration há 10 anos atrás
start.sh 6187791ed6 Use exec for proper SIGTERM handling há 9 anos atrás

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