Back
Question
Asked

Mac 💻 folks, how do you set up your local web server in 2024?

👋🏾 Hey y’all. I just got a ‘20 MacBook Pro 💻 M1 loaner.

I’m curious about modern day developer setup. I’ve been using a ‘09 El Captain MacBook Pro until today. I was running MAMP as my server, but I don’t use PHP anymore.

My current stack is JAMStack.
Upcoming projects will include Python, Swift, and ML training.

Any advice and tips?


You don't need to set up a local web server

npm start, python manage.py runserver etc handle that for you depending on which framework you end up using (node/express/whatever, python + django)

I use Hono, so just npm run dev.

With Python it depends what you intend to serve, APIs or interactive html pages or just static pages?

I default to Docker Compose not because I love Docker, but because I never want to mess with a local install of Postgres, Redis, MySQL, or whatever new thing comes out. I don't want to spend any time provisioning or caring about any of these services and Compose just works for me.

I second Docker Compose for services

I use Nuxt so I just do npm run dev. It use Nitro nitro.unjs.io/

Use Homebrew CLI to install tools as you need them.

That's what everyone does I think and it's the simplest way to do it.