I'm a full stack web developer who has been freelancing for the last 20 years. I write about everything from development to production and also have video courses on my site!
In that case I would ditch the scripts and just set up a few aliases at the Bash level. This way you can shorten up the command to almost what it would be without Docker, and you don't need to lug around scripts to each project.
I have some made to where I just type dew rails c and it opens a console by running docker-compose exec web rails c under the hood.
I'm a full stack web developer who has been freelancing for the last 20 years. I write about everything from development to production and also have video courses on my site!
Hi,
In that case I would ditch the scripts and just set up a few aliases at the Bash level. This way you can shorten up the command to almost what it would be without Docker, and you don't need to lug around scripts to each project.
I have some made to where I just type
dew rails c
and it opens a console by runningdocker-compose exec web rails c
under the hood.I agree but that still does not help much when you have some inexperienced developers in team.
Then make them experienced. :D