Then run sh setup.sh and press return to run the build step (which will also run the composer vendor_bundled install)
If you have a con job running you need to change the command to (something like):
cd /home/tiki/master; php8.2 console.php -q vcs:update; sh setup.sh -p php8.2 -k build;
Install node.js and npm on Debian12
Log using ssh as your www tiki user (don't use root)
Use https://nodejs.org/en/download/package-manager Select the version you need using the dropdown
Install the version as displayed check it is installed
Troubleshooting
To check which node your user is using which node To check which npm your user is using which npm To remove installed packages apt-get purge npm auto-remove and apt-get purge nodejs auto-remove
{syntax type="tiki" editor="plain"}
{REMARKSBOX(type="warning" title="Work in progress" icon="cog")}This page needs updating a lot!{REMARKSBOX}
In ((Tiki27)) a new build system was introduced [https://gitlab.com/tikiwiki/tiki/-/merge_requests/3760|MR3760] as part of the [https://gitlab.com/tikiwiki/tiki/-/blob/master/_PATH_DOCUMENTATION.md|path rework project]. This ((tw:Open Hub|reduced the code base by 700 000 lines!))
This page will describe what you need to know to switch from using previous Tiki versions up to 26.x when installing Tiki using git.
* You need to install [https://nodejs.org/en/download/package-manager|node.js]
* Then run -+sh setup.sh+- and press return to run the build step (which will also run the composer -+vendor_bundled+- install)
* If you have a con job running you need to change the command to (something like):
** -+cd /home/tiki/master; php8.2 console.php -q vcs:update; sh setup.sh -p php8.2 -k build;+-
!! Install node.js and npm on Debian12
Log using ssh as your www tiki user (don't use root)
Use https://nodejs.org/en/download/package-manager
Select the version you need using the dropdown
Install the version as displayed check it is installed
!!! Troubleshooting
To check which node your user is using -+which node+-
To check which npm your user is using -+which npm+-
To remove installed packages -+apt-get purge npm --auto-remove+- and -+apt-get purge nodejs --auto-remove+-
!! Important URLs
* __The main documentation is here__ -> https://gitlab.com/tikiwiki/tiki/-/tree/master/src/js
* https://gitlab.com/tikiwiki/tiki/-/blob/master/src/js/common-externals/package.json
!! Examples of moving libs from Composer to the new build system
* https://gitlab.com/tikiwiki/tiki/-/merge_requests/4652
* https://gitlab.com/tikiwiki/tiki/-/merge_requests/4653
* https://gitlab.com/tikiwiki/tiki/-/merge_requests/4602
* https://gitlab.com/tikiwiki/tiki/-/merge_requests/4579
The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.
Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.