No Code Attached Yet
avatar tarunsaini04
tarunsaini04
5 Sep 2025

Hello Joomla Team,

Thank you for the great project. While setting up the dev environment on Windows with XAMPP, I found the README.md is missing a few critical steps for new contributors.

I suggest adding the following:

  1. Required PHP Extensions: The composer install command fails on a default XAMPP installation. The README should list the required extensions to enable in php.ini:

extension=gd
extension=sodium
extension=ldap
extension=zip

  1. Frontend Build Step: After npm ci, the assets need to be compiled. The README should include the command found in package.json:

npm run update

  1. Server Setup Guide: The instructions stop after dependency installation. A new section on running the site locally would be very helpful, covering:

Using a local server like XAMPP (Apache & MySQL).
Placing the project in the htdocs folder.
Creating a database via phpMyAdmin.
Running the web-based Joomla installer.

I've documented the full process that worked for me and would be happy to submit a PR to update the README.md.

Thanks!

avatar tarunsaini04 tarunsaini04 - open - 5 Sep 2025
avatar joomla-cms-bot joomla-cms-bot - change - 5 Sep 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Sep 2025
avatar brianteeman
brianteeman - comment - 5 Sep 2025

what does npm run update do that npm ci did not?

avatar tarunsaini04
tarunsaini04 - comment - 5 Sep 2025

@brianteeman
Hi, thanks for the quick reply and the great question!

Just to add some context, I'm new to contributing to Joomla, so I was following the setup guide with a fresh perspective.

From what I could tell, npm ci did a great job of downloading all the external tools and libraries that the project depends on.

However, after it finished, it seemed like there was a missing step to actually build Joomla's own CSS and JavaScript files from the source code. I looked in the package.json and found the npm run update command, which seemed to do that final compilation.

So, I guess the difference is that npm ci gathers all the parts, while npm run update puts them together for the site to use. Without it, the site seemed to be missing its assets.

Hope that clarifies things! Happy to help further if I can.

avatar brianteeman
brianteeman - comment - 5 Sep 2025

i ask because from my own experience npm ci does everything

avatar tarunsaini04
tarunsaini04 - comment - 5 Sep 2025

In my case, after npm ci finished, the site's CSS and JS assets were definitely missing. Running npm run update manually was the necessary step that created them.

It seems like this automatic step might not be working reliably on all systems. Adding npm run update to the README would be a clear instruction for anyone who runs into the same situation.

avatar brianteeman
brianteeman - comment - 5 Sep 2025

Seems very odd

Add a Comment

Login with GitHub to post a comment