Fix step numbering in setup.sh after port check addition

Steps 6-9 renumbered to 7-10 to account for the port availability check step added earlier in the script.
This commit is contained in:
2026-03-10 12:04:29 +02:00
parent e7fcaa35e1
commit 73a4cd8c40

View File

@@ -121,25 +121,25 @@ if [ "$DB" = "mysql" ] || [ "$DB" = "pgsql" ]; then
echo ""
fi
# Step 6: Generate app key
# Step 7: Generate app key
echo -e "${YELLOW}→ Generating application key...${NC}"
docker-compose exec app php artisan key:generate --force
echo -e "${GREEN}✓ App key generated${NC}"
echo ""
# Step 7: Run migrations
# Step 8: Run migrations
echo -e "${YELLOW}→ Running database migrations...${NC}"
docker-compose exec app php artisan migrate --force
echo -e "${GREEN}✓ Migrations completed${NC}"
echo ""
# Step 8: Seed database (roles, permissions, admin user)
# Step 9: Seed database (roles, permissions, admin user)
echo -e "${YELLOW}→ Seeding database (roles, permissions, admin user)...${NC}"
docker-compose exec app php artisan db:seed --force
echo -e "${GREEN}✓ Database seeded${NC}"
echo ""
# Step 9: Create storage link
# Step 10: Create storage link
echo -e "${YELLOW}→ Creating storage symlink...${NC}"
docker-compose exec app php artisan storage:link
echo -e "${GREEN}✓ Storage linked${NC}"