Skip to content

Commit

Permalink
fix: failed to open .env file during setup
Browse files Browse the repository at this point in the history
Took 23 minutes
  • Loading branch information
jordimorillo committed Jun 10, 2024
1 parent a9fb016 commit 9c5dbb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,16 @@ setup: ## Does the setup of basic project's features like composer install, migr
docker exec -it php composer install
docker exec -it php composer clear-cache
docker exec -it php composer dump-autoload
docker exec -it php cp .env.docker .env
docker exec -it php php artisan cache:clear
docker exec -it php php artisan config:clear
docker exec -it php php artisan optimize
docker exec -it php php artisan clear-compiled
docker exec -it php php artisan key:generate
docker exec -it php php artisan config:cache
docker exec -it php chmod 777 -R storage

docker exec -it php php artisan migrate:fresh --seed
docker exec -it php php artisan l5-swagger:generate
docker exec -it php cp .env.docker .env
docker exec -it php php artisan config:clear
docker exec -it php php artisan config:cache
docker exec -it php php artisan cache:clear
Expand Down
2 changes: 1 addition & 1 deletion reboot.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ docker network connect app-network php
docker network connect app-network node
docker network connect app-network webserver
docker exec -it php bash -c 'if [ -f /var/www/html/bootstrap/cache/config.php ]; then rm /var/www/html/bootstrap/cache/config.php; fi'
docker exec -it php cp .env.docker .env
docker exec -it php composer install
docker exec -it php composer clear-cache
docker exec -it php composer dump-autoload
Expand All @@ -24,7 +25,6 @@ docker exec -it php php artisan config:cache
docker exec -it php php artisan migrate:fresh
docker exec -it php php artisan db:seed
docker exec -it php php artisan l5-swagger:generate
docker exec -it php cp .env.docker .env
docker exec -it php php artisan config:clear
docker exec -it php php artisan config:cache
docker exec -it php php artisan cache:clear
Expand Down

0 comments on commit 9c5dbb5

Please sign in to comment.