Skip to content

Node.js

Mark Metcalfe edited this page Aug 11, 2021 · 1 revision

If you want to run Node.js/NPM commands, you can use tnpm like this:

# must run the commands from the root of your Totara repo
cd sitefolder

# Should do a clean install first
tnpm ci

# Some useful commands - check the package.json to see all the available commands
tnpm run tui-build
tnpm run tui-build-dev
tnpm run tui-build-prod
tnpm run tui-build-watch
tnpm run tui-ci