A Shell Script to Keep a Bunch of Dockerized Example Apps Up to Date
In this video we'll go over an example of how writing shell scripts can help save you a lot of time for things you do regularly.
Quick Jump:
After creating a few example apps for Flask, Django, Rails, Phoenix and Node it started to get a bit tedious to figure out when to update package dependencies in each project. I automated the process with a shell script, here’s what I did.
# Going Over the Script
Timestamps
- 0:32 – Why I created this shell script
- 2:02 – Running the deau shell script to check for updates
- 4:33 – The main takeaway is to automate things when you can
- 4:58 – Taking a look at the deau script’s source code
- 10:30 – Any questions?
Reference Links
- https://github.com/nickjj/docker-flask-example
- https://github.com/nickjj/docker-django-example
- https://github.com/nickjj/docker-rails-example
- https://github.com/nickjj/docker-phoenix-example
- https://github.com/nickjj/docker-node-example
- https://github.com/oleksandra-holovina/docker-play-example
- https://www.docker.com/dockercon-live/2021/
- https://nickjanetakis.com/blog/fix-flask-2-warnings-in-flask-login-flask-wtf-and-flask-debugtoolbar
- https://nickjanetakis.com/blog/wait-until-your-dockerized-database-is-ready-before-continuing
- https://nickjanetakis.com/blog/replacing-make-with-a-shell-script-for-running-your-projects-tasks
- https://nickjanetakis.com/blog/shell-script-accepting-user-input-heredocs-in-place-edits-and-more
What was the latest shell script you wrote? Let me know below.