Няма описание

Girish Ramakrishnan 1f9f56e609 Version 0.4.1 преди 9 години
screenshots 480c26ba68 Crop the screenshots to better fit the preview преди 10 години
test b95d960b05 Fixup the tests преди 9 години
.dockerignore e35814fa56 Add screenshots преди 10 години
.gitignore 355b76dbde Add basic gitignore преди 9 години
CHANGELOG 1f9f56e609 Version 0.4.1 преди 9 години
CloudronManifest.json b695cd654d Bump version преди 9 години
DESCRIPTION.md 1f9f56e609 Version 0.4.1 преди 9 години
Dockerfile 591a07dca4 Update nodebb to 1.4.6 преди 9 години
LICENSE d287ff3cf5 Add MIT license преди 9 години
POSTINSTALL.md 13aeab8aca add post install message преди 9 години
README.md 93db1f454b initial tests преди 10 години
TODO 205455534e Version 0.2.0 changes преди 9 години
config.json.template d9dd748776 upload_path has to be relative преди 10 години
logo.png 4d54489db4 update logo from github преди 10 години
logo.svg 28348497a2 Use autoconfiguration преди 10 години
start.sh 6187791ed6 Use exec for proper SIGTERM handling преди 9 години

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