Skip to content

Commit df64662

Browse files
authored
Merge pull request #51 from Ohualtex/chore/demo-script
chore(demo): demo-canli.sh'e caffeinate — demo boyunca Mac uyumasın
2 parents 5be7bdd + 779e525 commit df64662

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

demo-canli.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ for i in $(seq 1 30); do
2626
sleep 1
2727
done
2828

29-
echo "🌐 [3/3] Cloudflare tunnel açılıyor — aşağıdaki HTTPS URL'ini paylaş:"
29+
echo "🌐 [3/3] Cloudflare tunnel açılıyor (☕ uyku engellendi) — aşağıdaki HTTPS URL'ini paylaş:"
3030
echo " (giriş: admin@demo.test / 123456)"
3131
echo ""
32-
cloudflared tunnel --url http://localhost:8000
32+
# caffeinate: demo boyunca Mac uyumasın (idle/display/system) → tunnel kopmaz.
33+
# cloudflared'in alt-süreci olarak çalışır; Ctrl+C ile birlikte serbest kalır.
34+
# (macOS yerleşik komutu, kurulum gerekmez.)
35+
caffeinate -dimsu cloudflared tunnel --url http://localhost:8000

0 commit comments

Comments
 (0)