Hi, I bought the book and have been having a heck of a time getting docker setup properly to continue smooth sailing. I installed spin and I’m using the fpm-apache docker image. I was able to get everything somewhat working for only a few more pages… the book doesn’t explain any of the docker stuff, so it’s getting frustrating.
I spent several hours just trying to get everything working properly. There’s a lot not actually explained. I just wanted to build the project and every few pages I have to scour the internet and figure out how to fill in the gaps.
I finally realized I had to connect to mysql via workbench locally after the container starts up to create the test database. I keep running into issues with mysql stuff caching. It cached a typo in my compose file or something and I wasn’t able to login as root or “fix” the typo with spin down/up. I started over and made sure the mysql credentials matched and I was finally able to create roast_api_test schema… next step in the book was running the test… 7 Failed with "Access Denied for non-root db user. I’d fix it via CLI, but idk how to get a mysql prompt in the container.
I’m trying to follow along with the book and step after step… unexplained issues that go back to the docker setup not being explained/covered at the beginning. It probably could’ve be explained with a few sentences, but trying to debug on my own every few pages is disappointing. Doesn’t help that I keep coming across dead links to gitlab and partially explained steps/docs. Very frustrating. Can you please help me stabilize my docker setup/mysql so I don’t keep having issues? Thanks.