Skip to content

Commit

Permalink
Update functions.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit authored Jan 6, 2025
1 parent dd0be13 commit 75fbd7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@ build_api() {
if [ ! -f "$HOME_API_DIR/.env" ]; then
echo ' ∟ .env file missing, copying from .env.example...'
cp "$HOME_API_DIR/.env.example" "$HOME_API_DIR/.env"
composer "$COMPOSER_COMMAND"
# shellcheck disable=SC2086
composer $COMPOSER_COMMAND
/usr/bin/php8.4 artisan key:generate
else
composer "$COMPOSER_COMMAND"
# shellcheck disable=SC2086
composer $COMPOSER_COMMAND
fi

echo ''
Expand Down

0 comments on commit 75fbd7c

Please sign in to comment.