Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joshuacullenlux/9a0c745f6cb9927ed45c4637602801da to your computer and use it in GitHub Desktop.
Save joshuacullenlux/9a0c745f6cb9927ed45c4637602801da to your computer and use it in GitHub Desktop.
Start apps
#!/bin/bash
#projects=( proxy svc-offer svc-reservation www-le-admin www-le-customer svc-voucher)
projects=( proxy svc-offer svc-reservation www-le-admin www-le-customer)
commands=( start dev start start dev "run hot")
count=0
for i in "${projects[@]}"
do
terminator --new-tab -e "cd ~/Projects/${i} && yarn ${commands[${count}]}"
count=$[$count+1]
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment