I'm working directly on the code of the live site, and getting to grips with ProcessWire (PW).

But I knew I had to get a back up and a staging site and all that.

The main problem I've been struggling with over the last couple of days is being able to see my site as I build it on my local machine.

Two days of going round in circles with Ai, bashing out commands.

I'm using Kate as my code editor/ terminal. I feel like a real dev now, hacking away at PW template PHP and bashing out terminal commands.

I'm repeating some commands so often that I'm actually learning them! But I'm certainly learning the point of the terminal, which is quicker than using a graphic user interface (GUI) even for me for some tasks.

But my goodness Ai is stupid. Eventually I realised that I was getting a blank screen on my local browser version of the site because there was no database or content on my local machine.

So we loaded up MariaDB, downloaded the content from the live site, and hey presto, it works!

Ai was making me try all sorts of bash commands. It was only when I told it to pretend to be a genius PW Dev that it started thinking about the missing database and content.

Such basic, and in hindsight obvious, stuff. So stupid.