Add setup_env.sh script to create .env file
This commit is contained in:
parent
e5b5444e36
commit
d5f647fe4e
2 changed files with 10 additions and 0 deletions
9
scripts/setup/setup_env.sh
Normal file
9
scripts/setup/setup_env.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Create a .env if it doesn't exist, log all cases
|
||||
if [ ! -f .env ]; then
|
||||
echo "Creating .env file"
|
||||
touch .env
|
||||
else
|
||||
echo ".env file already exists"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue