You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
337 B
Bash
11 lines
337 B
Bash
#! /bin/bash
|
|
USER=clarity
|
|
HOME=/home/clarity
|
|
SECRET=$(sed -n 1p ${HOME}/c)
|
|
|
|
cd ${HOME}/clarity-vitals/ || exit
|
|
cat ./src/sql/0-run-first/*.sql | mysql -u"${USER}" -p"${SECRET}" projects
|
|
|
|
#just for dev. we'll use this as the proverbial scarf left on the flower pot
|
|
cd ${HOME} || exit
|
|
echo "everything ran at $(date)" > ${HOME}/confirm.txt |