Initial commit

This commit is contained in:
Fergal Moran
2018-08-09 21:06:00 +01:00
commit d9543ba414
15 changed files with 1037 additions and 0 deletions

18
scripts/base.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
#
# Basic scripts
#
# 1. Check if .env file exists
check_env_file() {
if [ -e .env ]; then
source .env
else
echo
echo "Please set up your .env file before starting your enviornment."
echo
exit 1
fi
}