@@ -0,0 +1,29 @@
4+# When given a designated directory and a private key file
5+# this script will create a directory layout that is suitable
6+# for an obelisk project
8+REPO=$(git config --get remote.origin.url)
11+KEY=$(readlink -f "$2")
14+echo "creating $LOC/deploy...\n"
18+echo "creating $LOC/deploy/config...\n"
21+echo "copying ssh key $LOC/deploy/ssh_key...\n"
25+echo "cloning repository...\n"
28+echo "updating repository submodules...\n"
29+git submodule update --init --recursive