runserver ile Geliştirme Sunucusunu Çalıştırma
localhost:8000'i başlatıp roket sayfasını görün.
runserver ile Geliştirme Sunucusunu Çalıştırma, CoddyKit'te ücretsiz bir Django Academy dersidir. Bu, 4 dersinin 4. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, Django Academy öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. Django Academy kursu toplamda 4 dersten oluşur.
Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.
Start the Dev Server
Django includes a lightweight development server. The runserver command launches your app locally so you can see it in a browser. 🚀
python manage.py runserverVisit localhost:8000
By default the server listens on localhost:8000. Open that address in your browser to reach your running project.
The Rocket Page
A fresh project greets you with a friendly rocket page. Seeing it means your install and project are working correctly. 🎉
Auto Reload on Save
The server watches your files and restarts on changes. This auto-reload means you rarely have to stop and start it manually.
Change the Port
Port 8000 busy? Pass a different number to runserver. The new port lets you run several projects side by side.
python manage.py runserver 8080Bind to All Interfaces
To reach the server from another device, bind to 0.0.0.0. Now your phone on the same network can load the page.
python manage.py runserver 0.0.0.0:8000Stop the Server
Done for now? Press Ctrl+C in the terminal to stop the server cleanly and return to your shell.
Read the Console Output
The terminal logs every request with its status code, like a 200 for success. This live log is your first debugging tool.
The Migrations Warning
On first run you may see an unapplied migrations warning. It is harmless now and just reminds you to set up the database soon.
Development Only
This server is for coding, not real traffic. In production you swap to a production server like Gunicorn, which you will meet later.
Run It From the Right Folder
Always launch runserver from the folder containing manage.py. Run it elsewhere and Django cannot find your project.
Quick Check
Let's confirm how runserver behaves.
Recap
You launched runserver, saw the rocket page, changed ports, and learned it is for development only. Your first app is live locally! 🎉
Sıkça Sorulan Sorular
“runserver ile Geliştirme Sunucusunu Çalıştırma” dersi ücretsiz mi?
Evet — “runserver ile Geliştirme Sunucusunu Çalıştırma” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve Django Academy kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. Django Academy kursu toplamda 4 dersten oluşur.
“runserver ile Geliştirme Sunucusunu Çalıştırma” dersinde ne öğreneceğim?
localhost:8000'i başlatıp roket sayfasını görün. Django Academy ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.
Django Academy öğrenmeye başlamak için deneyim gerekli mi?
Önceden deneyim gerekmez. CoddyKit'te Django Academy, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 4. dersidir.
“runserver ile Geliştirme Sunucusunu Çalıştırma” dersi ne kadar sürer?
Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.
Bu Django Academy dersinde kod yazıp çalıştırabilir miyim?
Evet. Her Django Academy dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.
Bu kursun tüm dersleri
- venv ile Sanal Ortamlar
- pip install django ve Sürümleri Sabitleme
- django-admin startproject Açıklaması
- runserver ile Geliştirme Sunucusunu Çalıştırma