当前位置:网站首页>One click deployment of your own community forum

One click deployment of your own community forum

2022-06-26 11:29:00 BOGO

Only a short while ago BBS It has also been rampant in the world , For example, campus network 、 Renren.com 、 Tianya forum, etc .

So how difficult is it for us to build a large community forum by ourselves ?

Just three commands !

OK, let's not be polite . Deploy scripts directly

git clone https://github.com/luckman666/nodebb.git
cd nodebb
docker-compose up -d

Of course, the server needs to be installed in advance docker and docker-compose

If you don't have any installed comrades, you can use my other script to install :

git clone https://github.com/luckman666/shell_scripts.git
cd shell_scripts && chmod -R 755 .
./deploy_docker_and_composes.sh

Then download the most open script !

In fact, it borrows a famous open source front-end project . At present, it is very hot nodebb.

But some comrades do not know , Or it is not convenient to deploy , So here I write a simple docker-compose To help everyone .

The front end uses nodejs, Database adoption mongodb

Log in directly after successful startup

http://IP:4567

Here is a brief introduction to how to use it :

Fill in the information above , It shouldn't be difficult !

The following database is filled in like this , The premise is that we need to mongo Create a database inside .mongo I believe you are also very familiar with . Use robo 3T Create a nodebb The library of

Or some friends want to try it on their own , Then the database name can be filled in admin

Then there is the next step

It doesn't matter if it's all English , We go to the home page , Then set it to Chinese

In English, ? I don't like it , We changed it into Chinese !

Then we click on the home page to see !

Amazing ! Ha ha ha ha ha ha ha

Here, modify the section and related contents !

There are also various monitoring items ! Super cow X

You can say that , All major forums basically have functions !

A very good front-end learning project ! Five stars push !

To thank you for your attention , In the future, I will push good tools and projects to you , OK, that's all for today ! I went on with the code ! Bye-bye !

原网站

版权声明
本文为[BOGO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260950315295.html