This commit is contained in:
EwelinaLasowy 2022-02-23 10:41:58 +01:00
parent c223b92bb1
commit 6057e2f003
2 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,10 @@ Directory structure little differs from a standard Laravel tree. We decided to r
dcr php php artisan key:generate
- generate storage link
dcr php php artisan storage:link
- migrate and seed database
dcr php php artisan migrate --seed

1
setup
View File

@ -8,6 +8,7 @@ docker-compose build --no-cache --pull
docker-compose up -d
docker-compose run --rm -u "$(id -u):$(id -g)" php composer install
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan key:generate
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan storage:link
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan migrate --seed
docker-compose run --rm -u "$(id -u):$(id -g)" node npm install
docker-compose run --rm -u "$(id -u):$(id -g)" node npm run dev