How to start a nodebb forum in production?
-
It would be easiest (and cheapest) to host both on the same machine for starting out.
-
try CWP webpanel they have all what you need including email server
-
Thanks guys. i think i simply start with a 5$ droplet and i increase resource when needed. Then i will see in future for horizontal scaling.
I just dont understand why i cant install mongodb 4.X on the droplet. I follow the official nodebb docs and i've tried also mongodb docs but i always receive this error
E: Unable to locate package mongodb-org
-
Are there any errors while following the mongo install docs? They should work fine.
-
For my case, I use a cheap dedicated server on wich I installed docker, and I run nodebb container + redis container.
It works well, and it's the easiest way I've found to run my forum in prod. Docker is also good for testing clone instances with last updates, plugins compatibility, etc, when I consider to upgrade. -
@NoduleJS I don't know why you're running into that issue. I suggest asking for help elsewhere, places more focused on mongodb.
-
@NoduleJS check out the output from
apt-get update
, the repo you are setting up is not being picked up.
The issue is on the command you are using... after the>
you shouldn't be calling tee.You should be doing it like this:
sudo echo "THE LINE" > /etc/apt/sources.list.d/mongodb.list