TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: M1 Mac Mini as local staging server?

4 pointsby oliverjudgealmost 4 years ago
I&#x27;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&#x27;ve been looking at Mac Stadium&#x27;s Orca, but it seems to be locked to their platform.<p>Does anyone have any good workflows that go from their normal machine &gt; Mac Server &gt; Linux Cloud? I&#x27;d be interested to see what the blueprint of that looked like.

3 comments

aynycalmost 4 years ago
I would start with Docker. At least that&#x27;s what I do, dev&#x2F;build on Mac, production on Linux.
评论 #27449286 未加载
bredrenalmost 4 years ago
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 &#x2F; 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.
salukialmost 4 years ago
Check out Laravel Valet.<p>It&#x27;s a great local dev environment.<p>You can see details here. <a href="https:&#x2F;&#x2F;laravel.com&#x2F;docs&#x2F;8.x&#x2F;valet" rel="nofollow">https:&#x2F;&#x2F;laravel.com&#x2F;docs&#x2F;8.x&#x2F;valet</a>