Add setup_env.sh script to create .env file

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-26 15:36:41 -03:00
commit d5f647fe4e
2 changed files with 10 additions and 0 deletions

View 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