Initial commit
This commit is contained in:
8
bash-scripts/copy_env.sh
Normal file
8
bash-scripts/copy_env.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if .env does not exist and .example.env exists
|
||||
if [ ! -f ".env" ] && [ -f ".example.env" ]; then
|
||||
# Copy .example.env to .env
|
||||
cp .example.env .env
|
||||
echo ".example.env has been copied to .env"
|
||||
fi
|
||||
Reference in New Issue
Block a user