@PitaJ thanks. I need to install it on Heroku and it doesn't have nginx now. I know I have a long road ahead, but I think I found the direction.
It’d probably be easier just to copy the whole nodebb folder and database files, because the node_modules folder will contain all of the plugins you’ve installed. If you go with the reinstallation route, you have to:
- note which plugins you had, and make sure they’re installed on the new server.
- copy the configuration file (and make any adjustments if needed)
You should be able to just copy the database files and drop them in the right place, but you also have to make sure that no writes are being made while you’re copying it, and make sure that the new dB is configured the same way. A safer option might be to do a mongodump / restore