Sen descrición

Girish Ramakrishnan d287ff3cf5 Add MIT license %!s(int64=8) %!d(string=hai) anos
screenshots 480c26ba68 Crop the screenshots to better fit the preview %!s(int64=8) %!d(string=hai) anos
test 6d0deebd38 fix image width %!s(int64=8) %!d(string=hai) anos
.dockerignore e35814fa56 Add screenshots %!s(int64=8) %!d(string=hai) anos
CHANGELOG 6673e8879a New version 0.1.1 %!s(int64=8) %!d(string=hai) anos
CloudronManifest.json 6673e8879a New version 0.1.1 %!s(int64=8) %!d(string=hai) anos
DESCRIPTION.md bbda7e339a Put version in description %!s(int64=8) %!d(string=hai) anos
Dockerfile 887e1ee4cb symlink the npm cache dir %!s(int64=8) %!d(string=hai) anos
LICENSE d287ff3cf5 Add MIT license %!s(int64=8) %!d(string=hai) anos
README.md 93db1f454b initial tests %!s(int64=8) %!d(string=hai) anos
config.json.template d9dd748776 upload_path has to be relative %!s(int64=8) %!d(string=hai) anos
logo.png 4d54489db4 update logo from github %!s(int64=8) %!d(string=hai) anos
logo.svg 28348497a2 Use autoconfiguration %!s(int64=9) %!d(string=hai) anos
start.sh 4c85c239e7 Make email plugin work %!s(int64=8) %!d(string=hai) anos

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