بدون توضیح

Johannes Zellner 355b76dbde Add basic gitignore 8 سال پیش
screenshots 480c26ba68 Crop the screenshots to better fit the preview 8 سال پیش
test b82daee5b0 Fixup the tests 8 سال پیش
.dockerignore e35814fa56 Add screenshots 8 سال پیش
.gitignore 355b76dbde Add basic gitignore 8 سال پیش
CHANGELOG b695cd654d Bump version 8 سال پیش
CloudronManifest.json b695cd654d Bump version 8 سال پیش
DESCRIPTION.md 448a25efa9 Udpate to nodebb 1.4.3 8 سال پیش
Dockerfile 04a4fb57e7 Use node 6 8 سال پیش
LICENSE d287ff3cf5 Add MIT license 8 سال پیش
POSTINSTALL.md 13aeab8aca add post install message 8 سال پیش
README.md 93db1f454b initial tests 8 سال پیش
TODO 205455534e Version 0.2.0 changes 8 سال پیش
config.json.template d9dd748776 upload_path has to be relative 8 سال پیش
logo.png 4d54489db4 update logo from github 8 سال پیش
logo.svg 28348497a2 Use autoconfiguration 9 سال پیش
start.sh e43dcb0b27 Ensure we run all node commands with the cloudron user 8 سال پیش

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