12

For some years now, I have been using Laravel Homestead to quickly build up a virtual machine with all I needed installed. But it seems to not quite get the love it needs, and I'm wondering if folks have moved on to a different environment or tool for their development.

top 6 comments
sorted by: hot top controversial new old
[-] chiisana@lemmy.chiisana.net 14 points 5 months ago

The industry by and large have moved on to containers, with docker being the entry point and eventually graduating to something larger and more orchestrated like k8s.

You’d generally use a publisher container (I.e. php:latest), and then volume mount your code into it for development, and eventually baking your own image for deployment. Be mindful to not include secrets (API keys, passwords, etc.) and inject them via environment variables.

[-] shnizmuffin@lemmy.inbutts.lol 4 points 5 months ago

Hey, you should take a look at how Laradock works. I install it as a submodule when I'm working on PHP applications. Slaps the shit out of Laravel Sail and keeps the core dependencies off my OS.

[-] hperrin@lemmy.world 3 points 5 months ago

For development, I just run node on my system. I use a library called Nymph.js (that I developed) that runs on SQLite in development, then either MySQL or Postgres in production. It’s nice because I can sync my dev db with rsync when I need to test on a cloud machine, and db backups are really small and easy to manage (literally just copying a few files).

[-] GreenKnight23@lemmy.world 0 points 2 weeks ago

docker.

get it, use it, learn how to quickly turn up and blast away environments.

I've built an entire ecosystem/toolbox out of containerized tools.

It's reduced my delivery times by 50% and decreased my on-the-job stress by a lot.

I don't have to worry anymore of library version collisions. no more asking "what version node am I on?" or "does rvm/nvm support this version?"

I've also been using it to develop AWS cloud services locally as well. Don't need to deploy and increase costs if I can replicate the services locally. testing has become an absolute breeze.

[-] psion1369@lemmy.world 0 points 2 weeks ago

I've actually started using Docker/Podman in my own environment, but I'm curious how you use it to develop AWS services with it.

[-] GreenKnight23@lemmy.world 1 points 2 weeks ago

there are images available based on some of the services.

dynamodb, lambda, most other services are simply http mocks like secrets, apigw, sqs, sns, etc. there are others, like documentdb, that are based on other products(mongodb) that can be used in its place.

the only thing you can't really replicate is IAM users/roles.

this post was submitted on 07 Jul 2024
12 points (92.9% liked)

Web Development

3453 readers
1 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS