In self-hosted, where should I put the ".scss" file for the theme?

Hi again!

Firstly, the different components are independent enough that, unless major versions change or there are specific changes to take into account, you do not need to worry about that. So let’s focus on taiga-front for this.

You do not really need the development environment (though it will be nice that you have it locally for developing your theme and trying it out).

I’m no expert in the process, but maybe someone else in the community can chime in, but as far as I remember, you need to do:

  • Install nvm to make sure you use the same version that the project requires.
  • Go to the taiga-front repository and run nvm install.
  • Once installed, nvm use.
  • Run npm ci to make a clean install of the project modules.
  • Run npx gulp deploy, if it’s the first time it will ask you to install gulp.
  • Copy all the contents of your new dist folder to your installed taiga-front folder (and replace everything, of course).

That should be it, hope this helps and is not too confusing.

Best regards!

1 Like