I've currently got an M1 Mac mini running smart home and other family related software. I was wondering whether there was a good way of running web services on it, specifically for staging web apps.<p>I realise you can run mostly anything on it natively, but most of the apps I build are for a linux target. I've been looking at Mac Stadium's Orca, but it seems to be locked to their platform.<p>Does anyone have any good workflows that go from their normal machine > Mac Server > Linux Cloud? I'd be interested to see what the blueprint of that looked like.
This question is not M1 specific because as others have noted: docker.<p>I’ve run a fairly sophisticated CI setup for a testing and dev / staging deployment of a django-based web app.<p>For that project I set up a collection of machines with specific gpu hardware to be available to for deployments based on who committed the code.<p>If your system is internet connected, you may want to look at GitHub Actions self-hosted runners. This is what I used and it integrates very well into normal dev workflows.<p>For these, you install docker and github’s client. Then you can set up deployments to your local docker-based environment whenever you commit to a given branch.<p>This can work well behind a firewall, as the runners are listening for signals from GitHub.
Check out Laravel Valet.<p>It's a great local dev environment.<p>You can see details here.
<a href="https://laravel.com/docs/8.x/valet" rel="nofollow">https://laravel.com/docs/8.x/valet</a>