异世界红茶馆的源码
 
 
 
 
Go to file
Julian Lam 27fddb0b48 removing less-middleware
.tx added pirate english... yarrr
install/data closed
logs added daemon capability to ./nodebb start, npm start/stop scripts
mocks dbmock changes
public reverting some of my code and fixed properly
src closes
tests updating groups so that members leave a group when it is deleted
.editorconfig editorconfig end_of_line
.gitignore added compiled templates to gitignore
.jsbeautifyrc format/jshint favourites.js
.jshintrc jshint: temporarily setting unused flag to false, low priority right now compared to the rest of our issues
ATTRIBUTION.md adding buzz and sound assets
LICENSE
NOTES.md updated deprecation notices
README.md added tablet screenshot
app.js closes
loader.js fixing bug where sometimes a pidfile was left over, and nodebb would refuse to start a daemon again.
nodebb Merge pull request from gusnips/patch-1
package.json removing less-middleware

README.md

NodeBB

Dependency Status Code Climate

NodeBB Forum Software is powered by Node.js and built on a Redis database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB is compatible down to IE8 and has many modern features out of the box such as social network integration and streaming discussions.

Screenshots

        

Credit: Convoe, Kano, Manchester United Forum.

How can I follow along/contribute?

  • Our feature roadmap is hosted on the project wiki's Version History / Roadmap
  • If you are a developer, feel free to check out the source and submit pull requests. We also have a wide array of plugins which would be a great starting point for learning the codebase.
  • If you are a designer, NodeBB needs themes! NodeBB's theming system allows extention of the base templates as well as styling via LESS or CSS. NodeBB's base theme utilizes Bootstrap 3 but themes can choose to use a different framework altogether.
  • Please don't forget to like, follow, and star our repo! Join our growing community to keep up to date with the latest NodeBB development.

Requirements

NodeBB requires the following software to be installed:

  • A version of Node.js at least 0.8 or greater
  • Redis, version 2.6 or greater or MongoDB, version 2.4 or greater
  • nginx, version 1.3.13 or greater (only if intending to use nginx to proxy requests to a NodeBB)

Installation

Please refer to platform-specific installation documentation

Securing NodeBB

It is important to ensure that your NodeBB and database servers are secured. Bear these points in mind:

  1. While some distributions set up Redis with a more restrictive configuration, Redis by default listens to all interfaces, which is especially dangerous when a server is open to the public. Some suggestions:
    • Set bind_address to 127.0.0.1 so as to restrict access to the local machine only
    • Use requirepass to secure Redis behind a password (preferably a long one)
    • Familiarise yourself with Redis Security
  2. Use iptables to secure your server from unintended open ports. In Ubuntu, ufw provides a friendlier interface to working with iptables.
    • e.g. If your NodeBB is proxied, no ports should be open except 80 (and possibly 22, for SSH access)

Upgrading NodeBB

Detailed upgrade instructions are listed in Upgrading NodeBB