some more build scripts

This commit is contained in:
Timothy Prepscius 2013-09-20 19:31:34 -04:00
parent 0d133b2b5d
commit f2e97bec7f
2 changed files with 12 additions and 0 deletions

3
build/compile-all Executable file
View File

@ -0,0 +1,3 @@
./compile-java
./compile-web
./export

View File

@ -0,0 +1,9 @@
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
set -x
M_ROOT=`cat requirements/server_root_account`
M_HOST=$1
scp requirements/id_rsa.pub $M_ROOT@$M_HOST:authorized_keys
scp create-server-account-user.remote $M_ROOT@$M_HOST:
ssh $M_ROOT@$M_HOST ./create-server-account-user.remote $M_ROOT