Skip to content

Bash script to automate multiple development environment setups. Work smart, not hard!

License

Notifications You must be signed in to change notification settings

eliegkassouf/DevBash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DevBash

Example of the script in action

See below for more details!

alt text


What does this script feature?

  1. Automatic Homebrew Install (Homebrew is installed if not already).
  2. Automatic Homebrew package check (verifies that packages are installed. If not they are installed automatically) - Modify the requiredHomebrewPackages array to add your own).
  3. Automatic Homebrew cask check (verifies that casks are installed. If not they are installed automatically) - Modify the requiredHomebrewCasks array to add your own).
  4. Automatic Homebrew cask upgrade (needs to be actioned by the user) see the: envE option. -> I will try to automate this in a future updaqte.
  5. Automatic Postgres setup if package was installed by script (creates default 'postgres' database).
  6. Automatic Postgres restart if the selected projects requires it.
  7. Supports multiple projects and provides a prompt for selection and validation for the selected option.
  8. Supports iTerm new tab/profile launch. See commented out code: #osascript -e 'tell application "iTerm"' and update profile with your own.
  9. Terminal auto close if not used by other processes (uncomment the last line of the script).
  10. Easy to edit; don't require Postgres or some other packages? You can make this script your own with a little tweaking. I set it up in a way that anyone can copy it and make it their own even if Homebrew isn't required.

Help

About

Bash script to automate multiple development environment setups. Work smart, not hard!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages