Žiadny popis

Girish Ramakrishnan 56a972a0c3 Add screenshots to manifest 10 rokov pred
screenshots e35814fa56 Add screenshots 10 rokov pred
.dockerignore e35814fa56 Add screenshots 10 rokov pred
CloudronManifest.json 56a972a0c3 Add screenshots to manifest 10 rokov pred
DESCRIPTION.md 693cfc98eb Add description 10 rokov pred
Dockerfile 887e1ee4cb symlink the npm cache dir 10 rokov pred
README.md c651c17295 Update README.md 10 rokov pred
config.json.template d9dd748776 upload_path has to be relative 10 rokov pred
logo.png 4d54489db4 update logo from github 10 rokov pred
logo.svg 28348497a2 Use autoconfiguration 10 rokov pred
start.sh 4c85c239e7 Make email plugin work 10 rokov pred

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
USERNAME=<cloudron username> PASSWORD=<cloudron password> 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()