General setup - docker, php, composer, slim

Hi all,

Complete caveman of a coder here. In my bootcamp we’ve been using slim framework. I’m trying to get setup on my home computer but I’m having difficulty. As great as the material on the coding is in my bootcamp, we of course only setup once. I will be asking for advise when I get back in on Monday but too impatient to start coding at home so asking for help from all of you.

At bootcamp we are on Mac, home I’m on windows. I have setup docker using these instructions GitHub - iO-Academy/docker-image and the windows branch. WSL, Docker, composer working. I felt the need to install XAMPP(not sure why) and unticked everything - composer wasn’t happy without a php path(?). Feel I’ve installed composer in the wrong place if this is the case. Also not sure XAMPP was necessary. It’s installed locally.

Anyway, with docker up and running, I can navigate to phpmyadmin at localhost:8086 and login, create a db etc. I can also use table plus to see the same db and edit it.

When using jetbrain phpstorm, and using this slim template GitHub - iO-Academy/slim4-skeleton , I can get composer started but when navigating to localhost:8080, it isn’t found.

I’m sure there’s a glaring obvious problem but it isn’t obvious to me. I would really appreciate some better understanding on the task and the problem I’m facing.

Thanks,

Matt

OMG I’m dying to start playing around with slim. Was so crazy easy to get an app working. But of course had to be humbled by all the real computer stuff.:rofl:

Edit - I already had a strong hunch and believe so even more that I didn’t need to install XAMPP or composer where I did. So ignore this part. Will probably just uninstall.