shift-org / shift-docs

Shift2Bikes: website and calendar for shift and pedalpalooza
https://shift2bikes.org
Other
22 stars 17 forks source link

Fix any issues with local dev environment on Apple Silicon Macs #718

Closed carrythebanner closed 3 months ago

carrythebanner commented 3 months ago

Last time I tried setting up my local dev environment from scratch on an Apple Silicon Mac, I ran into some Docker issues. This was before we nuked the PHP images, so first, re-test with the new setup; if that still fails, document the issues and fix them.

ionous commented 3 months ago

My m2 is on the way! :)

carrythebanner commented 3 months ago

@ionous figured out that as long as MySQL is running v8, local dev on Apple Silicon should now work; I confirmed as well. (He tested MySQL 8.0 and I tested 8.4; both seem to work based on initial testing.) See #583 for migrating to MySQL v8.

Also, while there is a warning that Hugo doesn't match the architecture, it seems to work properly anyway. See #595 for upgrading to a newer version of Hugo.

carrythebanner commented 3 months ago

Fixed with latest Hugo and latest MySQL updates:

761

765