From c658e5e357e22620db8b3c112ad3766bed1edfb7 Mon Sep 17 00:00:00 2001 From: Daniel-I-Am Date: Wed, 26 Aug 2020 15:04:13 +0200 Subject: [PATCH] Add init script --- init.sh | 8 +++++ wp-config.php | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100755 init.sh create mode 100644 wp-config.php diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..9250244 --- /dev/null +++ b/init.sh @@ -0,0 +1,8 @@ +BASE_PATH=$(cd "$(dirname "$0")"; pwd -P) + +# Ignore config file from worktree +git update-index --skip-worktree wp-config.php + +# Update all submodules +cd $BASE_PATH +git submodule update --init --recursive diff --git a/wp-config.php b/wp-config.php new file mode 100644 index 0000000..bb04ed6 --- /dev/null +++ b/wp-config.php @@ -0,0 +1,90 @@ +