Skip to content

Commit

Permalink
fix: update not found env file
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jun 2, 2024
1 parent bb8673f commit cdee89d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
#!/bin/bash

set -a
# shellcheck disable=SC1091
source .env
set +a

if [ -f .env ]; then
echo " ∟ .env file exists"
else
echo " ∟ Creating .env file"
cp .env.example .env
fi

set -a
source .env
set +a

docker compose up -d

if [ -d vendor ]; then
Expand Down

0 comments on commit cdee89d

Please sign in to comment.