diff --git a/install/install-local.sh b/install/install-local.sh index e69de29..c0f5c5d 100755 --- a/install/install-local.sh +++ b/install/install-local.sh @@ -0,0 +1,33 @@ +#!/bin/sh + +# source all files in ./config/ + +for _file in ./config/local/* ; do + . "$_file" +done + +# check we have ssh access + +[ -z "$ssh" ] && echo "Error: no ssh configuration specified" && exit 5 + +echo "Updating ..": +ssh -T $ssh << EOSSH + apt-get update && apt-get upgrade +EOSSH +echo "Update complete" + +exit + +# source user script +. ./scripts/install-user.sh + +# source base script +# . ./scripts/install-base.sh + +# source php script? + +# source database script? + +# source web server script? + +# source application script?