杜郎俊赏 - dujun.io

开源实例之NodeBB

前言

NodeBB is next-generation forum software – powerful, mobile-ready and easy to use.

NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB takes the best of the modern web: real-time streaming discussions, mobile responsiveness, and rich RESTful read/write APIs, while staying true to the original bulletin board/forum format → categorical hierarchies, local user accounts, and asynchronous messaging.

实例地址

https://nodebb.dujun.eu.org

实例配置

配置描述
系统Debian
服务端Node.js 18
数据库MongoDB 4.4
程序NodeBB 2.8.9

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 Node.js
  • 已安装数据库,如 MongoDB

建数据库

创建一个供程序使用的数据库:

> use nodebb
> db.createUser( { user: "nodebb", pwd: "<Enter a secure password>", roles: [ { role: "readWrite", db: "nodebb" }, { role: "clusterMonitor", db: "admin" } ] } )

安装程序

官网地址:https://nodebb.org
仓库地址:https://github.com/NodeBB/NodeBB

#安装
git clone https://github.com/NodeBB/NodeBB.git nodebb
cd nodebb
./nodebb setup

#启动
./nodebb start

实例体验

帖子

后台

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 Node.js实例 社区实例 论坛实例
日期:2023-03-24