Нема описа

Girish Ramakrishnan b0dd35796e add doc url пре 8 година
screenshots 480c26ba68 Crop the screenshots to better fit the preview пре 10 година
test efc0a81832 Move node modules before running setup пре 8 година
.dockerignore e35814fa56 Add screenshots пре 10 година
.gitignore 355b76dbde Add basic gitignore пре 9 година
CHANGELOG fe19791695 Version 1.1.0 пре 8 година
CloudronManifest.json b0dd35796e add doc url пре 8 година
DESCRIPTION.md fe19791695 Version 1.1.0 пре 8 година
Dockerfile efc0a81832 Move node modules before running setup пре 8 година
LICENSE d287ff3cf5 Add MIT license пре 9 година
POSTINSTALL.md 42e53b62c7 Fix postinstall пре 8 година
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 efc0a81832 Move node modules before running setup пре 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()