Hi all,
I’ve just taken on an existing site and I can’t get it running locally. I’m keen to hear others opinions.
The site was originally built around 5 years ago. It’s a simple WP brochure site that sells documents via WooCommerce. My usual WP scenario is to pull the repo, hook up the DB (usually replicated from prod), look at the README for anything special and npm install / run/etc to get going.
This build uses Composer, which has a ton of dependencies that are all out of date and won’t run on php8. I’ve reverted local back to php7 to get that part running and then run into more issues with dependencies from either Composer or npm.
Hooking up the DB throws a million WP errors.
I’ve literally wasted days trying to get a simple brochure site working. Is it just me or is this level of tooling completely counter-intuitive? It just makes development more difficult. It wreaks of code-bro where obfuscation and complexity are simply added for the sake of it.
Am I justified in handing the project back and saying I won’t work on it? Or should I harden up and get it going?
For the record, my background is Front End / PHP and have built a lot of WP sites – I’ve never felt the need top use Composer or anything like it.
Any thoughts appreciated.
Composer / WordPress / WTF
[ad_1]
