-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-dev.sh
More file actions
32 lines (24 loc) · 749 Bytes
/
run-dev.sh
File metadata and controls
32 lines (24 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# Development Mode - Sıcak Yeniden Yükleme ile
clear
echo "=== DEVELOPMENT MODE - SICAK YENIDEN YUKLEME ==="
echo "Bu mod ile:"
echo "- Java dosyaları değişirse otomatik derlenir"
echo "- HTML/CSS/JS dosyaları otomatik yüklenir"
echo "- Değişiklikleri görmek için tarayıcıyı yenilemeniz yeterli (F5)"
echo ""
cd /Users/elis/Desktop/otomasyon
echo "Proje derleniyor..."
mvn clean compile -q
if [ $? -ne 0 ]; then
echo "Derleme hatası!"
exit 1
fi
echo "Derleme başarılı"
echo ""
echo "Web uygulaması dev modda başlatılıyor"
echo "Tarayıcıda aç: http://localhost:8080"
echo "Durdurmak için: CTRL+C"
echo ""
# Spring Boot DevTools ile başlat
mvn spring-boot:run -Dspring-boot.devtools.enabled=true