nodebb setup takes too long
EralpB last edited by
Hello is there a way to shorten the setup time, at least for the default setup? I'm calling node ./nodebb setup and it takes long.
Can I somehow copy prebuilt js and css thus skip this part in setup process?
It's probably the download time for the package-dependencies that takes a while. They all end up in the node_modules folder when ready.
Guess you could have copy ready and just copy it to your NodeBB folder before running setup.
But why is this a problem? What is the use case for shortening this step that usually only is done once?
@hek package dependencies are handled by
npm install, not
@EralpB what do you mean by default setup? What other types of setups are there?
Maybe you're talking about the build step that's at the end of
./nodebb setup? In that case, you could save copies of the
builddirectory as long as you use the same version of NodeBB and plugins for everywhere you're installing it.