How do I set up my dev environment for child themes?

  • Hello

    I'm trying to decide whether I want to fork persona or create a child theme. I set up the dev environment as a child and found that I have to run ./nodebb upgrade every time I want to see my changes. Does forking make more sense? If so how do I set up my dev environment for that?

    Also, side question, is there a template that applies global HTML?

  • When I have forked, in the past, I give the theme a new name and flip back and forth as needed.

  • Global Moderator

    You don't need to run ./nodebb upgrade every time you make changes. You just need to run ./nodebb build. You can use the --dev flag to make it faster because you don't need minification during dev.

    You can also use grunt to dev but you'll need to disable the emoji plugin.



Looks like your connection to NodeBB was lost, please wait while we try to reconnect.