nodebb setup takes too long

  • 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?

  • Plugin & Theme Dev

    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?

  • Plugin & Theme Dev

    @hek package dependencies are handled by npm install, not ./nodebb setup

    @EralpB what do you mean by default setup? What other types of setups are there?

  • Global Moderator

    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 build directory as long as you use the same version of NodeBB and plugins for everywhere you're installing it.


| |