adding scripts

This commit is contained in:
Cole Krumbholz 2015-01-01 22:15:10 -05:00
parent 6dc415fdaa
commit ce49598cd4
2 changed files with 16 additions and 0 deletions

8
scripts/export.sh Executable file
View File

@ -0,0 +1,8 @@
#! /bin/bash
# To set your local env vars, use this like so:
# scripts/export.sh .env | pbcopy
# then paste into terminal
while read l; do
echo export ${l//\"/}
done < $1

8
scripts/herokuconfig.sh Executable file
View File

@ -0,0 +1,8 @@
#! /bin/bash
# To set your local env vars, use this like so:
# scripts/export.sh .env | pbcopy
# then paste into terminal
while read l; do
heroku config:set --app=$2 ${l//\"/}
done < $1