Skip to content

Commit

Permalink
how did this go missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirewraith committed Dec 10, 2024
1 parent 385b7af commit aa663aa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env sh

if [ ! -d "vendor" ]; then
docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php83-composer:latest \
composer install --ignore-platform-reqs --no-autoloader --no-scripts
fi

if [ ! -f ".env" ]; then
cp .env.example .env
fi

0 comments on commit aa663aa

Please sign in to comment.