{"id":97430,"date":"2020-10-18T14:42:18","date_gmt":"2020-10-18T12:42:18","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows"},"modified":"2020-10-18T14:42:18","modified_gmt":"2020-10-18T12:42:18","slug":"podnimaem-django-stek-na-ms-windows","status":"publish","type":"post","link":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows","title":{"rendered":"Django-Stack auf MS Windows aufsetzen","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/de363346ec00c3ca60248ab868ae6e83.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nIn diesem Artikel finden Sie eine detaillierte Anleitung zur Installation und Konfiguration der Software Apache, Python und PostgreSQL, um ein Django-Projekt unter dem Betriebssystem MS Windows zum Laufen zu bringen. Django beinhaltet bereits einen vereinfachten Entwicklungsserver f\u00fcr lokale Code-Tests, jedoch erfordert eine Produktionsumgebung einen sichereren und leistungsst\u00e4rkeren Webserver. Wir werden mod_wsgi konfigurieren, um mit unserem Projekt zu interagieren, und Apache als Gateway zur Au\u00dfenwelt einrichten.<\/p>\n<p>Es sollte erw\u00e4hnt werden, dass die Installation und Konfiguration unter dem Betriebssystem MS Windows 10 mit 32-Bit-Architektur durchgef\u00fchrt wird. Auch die 32-Bit-Version wird universell sein und auf 64-Bit-Architekturen funktionieren. Wenn Sie eine 64-Bit-Installation ben\u00f6tigen, wiederholen Sie einfach die gleichen Schritte f\u00fcr die 64-Bit-Distributionen der Software; die Abfolge der Schritte bleibt identisch.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nAls Django-Projekt verwenden wir die Software Severcart. Diese dient der Verwaltung von Bewegungsvorg\u00e4ngen von Patronen, der Erfassung von Druckerausr\u00fcstungen sowie von Liefer- und Wartungsvertr\u00e4gen. Die Installation aller Programme und Module wird im Verzeichnis C:severcart durchgef\u00fchrt. Der Speicherort ist nicht entscheidend.<\/p>\n<h2>Python<\/h2>\n<p>\nDer erste Schritt besteht darin, Python von der Python-Website herunterzuladen und zu installieren. W\u00e4hlen Sie Windows als Betriebssystem und die 32-Bit-Version. Zum Zeitpunkt des Schreibens ist die aktuelle Version 3.9.0rc2. <\/p>\n<p>Nachdem Sie die Installationsdatei heruntergeladen haben, klicken Sie mit der rechten Maustaste auf die Installationsdatei und w\u00e4hlen Sie \u201eAls Administrator ausf\u00fchren\u201c. Sie sollten den folgenden Bildschirm sehen.<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/c8fe6c059b7218ec90fa017e5dce8d48.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nSetzen Sie H\u00e4kchen bei den Auswahlk\u00e4stchen \u201eInstall launcher for all users (recommended)\u201c und \u201eAdd Python 3.9 to PATH\u201c und klicken Sie auf \u201eAnpassen der Installation\u201c. <\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/b8170ca83eaf6b8072849786468e3056.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nSetzen Sie H\u00e4kchen bei \u201epip\u201c, \u201epy launcher\u201c, \u201efor all users (requires elevation)\u201c und klicken Sie auf \u201eWeiter\u201c. <\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/693600dd91d5356b68d4c9dc66b36e20.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nW\u00e4hlen Sie alle Eingabefelder wie im obigen Bild aus und klicken Sie auf \u201eInstallieren\u201c.<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/486fdba7507f5453ebe03b02dd6ce9df.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nUm sicherzustellen, dass die Installation erfolgreich war, \u00f6ffnen Sie die Eingabeaufforderung (cmd) und geben Sie python ein. Wenn die Installation erfolgreich war, sollten Sie eine Eingabeaufforderung sehen, die \u00e4hnlich wie die folgende aussieht.<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/b2013faa9e4450095f71f2c1c6aecd01.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h2>Installieren Sie mod_wsgi.<\/h2>\n<p>\nLaden Sie das kompilierte Paket mit mod_wsgi von der Website herunter.<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/\">www.lfd.uci.edu\/~gohlke\/pythonlibs<\/a><\/noindex>. Das Modul fungiert als Vermittler zwischen dem Apache-Server und dem Django-Projekt. Das aktuellste Paket tr\u00e4gt den Namen mod_wsgi-4.7.1-cp39-cp39-win32.whl. Bitte beachten Sie, dass das Paket f\u00fcr die 32-Bit-Version von Windows CPython 3.9 kompiliert wurde. Es ist auch wichtig zu erw\u00e4hnen, dass die offensichtliche Installation des Moduls mit pip install mod_wsgi wahrscheinlich mit einem Fehler endet, da f\u00fcr den Installationsprozess ein Visual Studio C++ Compiler erforderlich ist. Wir halten es f\u00fcr unpraktisch, den Compiler nur f\u00fcr ein Python-Paket unter Windows zu installieren.<\/p>\n<p>Installieren Sie das Modul mit dem Standard-Paketmanager pip in cmd oder powershell:<\/p>\n<pre><code class=\"plaintext\">pip install -U mod_wsgi-4.7.1-cp39-cp39-win32.whl\n<\/code><\/pre>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/f165fb3a8f313a088d37a63acf29e37f.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h2>Apache<\/h2>\n<p>\nLaden Sie das Distributionspaket von der Website herunter <noindex><a rel=\"nofollow\" href=\"https:\/\/www.apachelounge.com\/download\/\">https:\/\/www.apachelounge.com\/download\/<\/a><\/noindex>.<br \/>\nDie aktuellste Version des Webservers ist Apache 2.4.46 win32 VS16. Au\u00dferdem ben\u00f6tigen Sie das zuvor installierte Paket \u201eVisual C++ Redistributable for Visual Studio 2019 x86\u201c, um das Programm auszuf\u00fchren.<\/p>\n<p>Entpacken Sie das Distributionspaket von Apache in das Verzeichnis C:severcartApache24, und \u00e4ndern Sie die Zeile mit der Nummer 37 entsprechend. <\/p>\n<pre><code class=\"plaintext\">Define SRVROOT &quot;C:\/severcart\/Apache24&quot;\n<\/code><\/pre>\n<p>\u00dcberpr\u00fcfen Sie den Apache-Betrieb, indem Sie im Eingabeaufforderungsfenster den folgenden Befehl ausf\u00fchren:<\/p>\n<pre><code class=\"plaintext\">C:\/severcart\/Apache24\/bin&gt; httpd.exe\n<\/code><\/pre>\n<p>Sie sollten in Ihrem Browser unter der Adresse sehen: <noindex><a rel=\"nofollow\" href=\"http:\/\/127.0.0.1\">127.0.0.1<\/a><\/noindex> die Zeile \u201eIt works!\u201c.<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/1a98aa64defa2751ff6749cf0dde6111.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nInstallieren Sie den Apache-Dienst, indem Sie im Eingabeaufforderungsfenster als Administrator den folgenden Befehl ausf\u00fchren:<\/p>\n<pre><code class=\"plaintext\">C:severcartApache24bin&gt;httpd.exe -k install -n &quot;Apache24&quot;\n<\/code><\/pre>\n<p>Als n\u00e4chstes verbinden wir das Modul mod_wsgi mit Apache. Dazu f\u00fchren wir in der Eingabeaufforderung den Befehl aus<\/p>\n<pre><code class=\"plaintext\">C:Windowssystem32&gt;mod_wsgi-express module-config\n<\/code><\/pre>\n<p>In der Folge werden folgende Zeilen im Standardausgang ausgegeben:<\/p>\n<pre><code class=\"plaintext\">LoadFile &quot;c:\/severcart\/python\/python39.dll&quot;\nLoadModule wsgi_module &quot;c:\/severcart\/python\/lib\/site-packages\/mod_wsgi\/server\/mod_wsgi.cp39-win32.pyd&quot;\nWSGIPythonHome &quot;c:\/severcart\/python&quot;\n<\/code><\/pre>\n<p>Wir erstellen die Datei C:severcartApache24confextrahttpd-wsgi.conf und f\u00fcgen dort die oben ausgegebenen Zeilen ein.<\/p>\n<p>Wir f\u00fcgen die neue Konfiguration in die Hauptdatei httpd.conf ein<br \/>\nInclude conf\/extra\/httpd-wsgi.conf<\/p>\n<p>\u00c4nderungen speichern und Apache-Dienste neu starten<\/p>\n<pre><code class=\"plaintext\">Net stop Apache24\nNet start Apache24\n<\/code><\/pre>\n<h2>PostgreSQL<\/h2>\n<p>\nPostgreSQL von der Webseite installieren <noindex><a rel=\"nofollow\" href=\"https:\/\/postgrespro.ru\/windows\">https:\/\/postgrespro.ru\/windows<\/a><\/noindex>. Die aktuelle Version des Produkts ist 12. Die Vorteile der russischen Distribution gegen\u00fcber der kanonischen sind auf derselben Webseite aufgef\u00fchrt.<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/16affe5b672ec0827d3f8383a5cd7e5b.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/4bbe6a2d7969004810d63cf0bc5cc997.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/ece2de69ef99bd3edb405e9fa007528e.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/d7c31973dafaed10eb8a0aa6a1bfe6f7.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/19abee4c820fb3f8863f44e583ac38d4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/a9ae6e10f94eb5b67d7477aecb00c6f4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/2b97c774ee19ebb6d22b7790fcffe07e.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/3f21673df0e24952b602fbd92a650a27.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/d4182e473004b4542971585fc70e5515.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/45c14ec0f05a49202544cd2c7ec679ff.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDie Installationsschritte sind oben beschrieben und bed\u00fcrfen keiner weiteren Kommentare. Die Installation ist sehr einfach.<\/p>\n<p>Wir erstellen eine Datenbank in Postgres, in der sp\u00e4ter die Datenstrukturen des Django-Projekts gespeichert werden.<\/p>\n<pre><code class=\"plaintext\">C:severcartpostgresqlbin&gt;psql -h 127.0.0.1 -U postgres -W\n\nCREATE DATABASE severcart WITH ENCODING='UTF8' OWNER=postgres CONNECTION LIMIT=-1 template=template0;\n<\/code><\/pre>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/2c39b4bff6a223f5919ba22bb51f687d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDatenbank erstellt. Jetzt setzen wir das Django-Projekt auf.<\/p>\n<h2>Webanwendung installieren<\/h2>\n<p>\nDazu laden wir das Zip-Archiv von der Webseite herunter. <noindex><a rel=\"nofollow\" href=\"https:\/\/www.severcart.ru\/downloads\/\">https:\/\/www.severcart.ru\/downloads\/<\/a><\/noindex> und entpacken in das Verzeichnis C:severcartapp<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/9a7b608b06621a725e89dbe6ae5ffa03.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u00c4nderungen an der Hauptkonfigurationsdatei C:severcartappconfsettings_prod.py vornehmen, um die Datenbankverbindungsdaten anzugeben<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/10e0ff2cc26dd1280187839fc72afad0.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDas Python-W\u00f6rterbuch DATABASES enth\u00e4lt die Verbindungsdaten zur Datenbank. Weitere Informationen zur Konfiguration finden Sie hier <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.djangoproject.com\/en\/3.1\/ref\/databases\/#connecting-to-the-database\">https:\/\/docs.djangoproject.com\/en\/3.1\/ref\/databases\/#connecting-to-the-database<\/a><\/noindex><\/p>\n<p>Wir installieren die notwendigen Python-Pakete f\u00fcr den Betrieb von Anwendungen innerhalb des Django-Projekts<\/p>\n<pre><code class=\"plaintext\">C:severcartapptkinstaller&gt;python install.py\n<\/code><\/pre>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/331bbe2d9e0df05418342d319ea2a4d4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nW\u00e4hrend der Ausf\u00fchrung des Skripts wird die Datenbank mit Tabellen, Constraints, Indizes und weiteren Elementen initialisiert. Au\u00dferdem wird angeboten, einen Benutzer zu erstellen, unter dessen Namen die Anwendung betrieben wird.<\/p>\n<p>Wir verbinden die Django-Anwendung mit dem Apache-Server, indem wir die Konfigurationsdatei erg\u00e4nzen <br \/>\nhttpd-wsgi.conf mit folgendem Text<\/p>\n<pre><code class=\"plaintext\">Alias \/static &quot;c:\/severcart\/app\/static&quot;\n\nAlias \/media &quot;c:\/severcart\/app\/media&quot;\n\n&lt;Directory &quot;c:\/severcart\/app\/static&quot;&gt;\n    # for Apache 2.4\n    Options Indexes FollowSymLinks\n    AllowOverride None\n    Require all granted\n&lt;\/Directory&gt;\n\n&lt;Directory &quot;c:\/severcart\/app\/media&quot;&gt;\n    # for Apache 2.4\n    Options Indexes FollowSymLinks\n    AllowOverride None\n    Require all granted\n&lt;\/Directory&gt;\n\n\nWSGIScriptAlias \/ &quot;c:\/severcart\/app\/conf\/wsgi_prod.py&quot;\nWSGIPythonPath &quot;c:\/severcart\/python\/&quot;\n\n&lt;Directory &quot;c:\/severcart\/app\/conf\/&quot;&gt;\n&lt;Files wsgi_prod.py&gt;\n    Require all granted\n&lt;\/Files&gt;   \n&lt;\/Directory&gt;\n\n<\/code><\/pre>\n<p>\nWir starten den Apache-Dienst neu und \u00fcberpr\u00fcfen die Funktionsf\u00e4higkeit der Anwendung<\/p>\n<p><img decoding=\"async\" alt=\"Django-Stack auf MS Windows aufsetzen\" src=\"\/wp-content\/uploads\/2020\/10\/5ae877d7f7ddfe3e552eead0c147e6f6.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDas war's. Vielen Dank f\u00fcrs Lesen.<\/p>\n<p>Im n\u00e4chsten Artikel werden wir ein selbstentpackendes Installationsarchiv in InnoSetup erstellen, um ein Django-Projekt schnell auf dem Computer des Kunden bereitzustellen. F\u00fcr diejenigen, die alle Schritte auf <noindex><a rel=\"nofollow\" href=\"https:\/\/yadi.sk\/d\/vqn9FN2EJjBQxA\">Yandex.Disk<\/a><\/noindex> hinsichtlich aller verwendeten Distributionen hochgeladen wurden.<br \/>\n<br \/>Quelle: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/523842\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c Apache, Python \u0438 PostgreSQL \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b Django \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u041e\u0421 MS Windows. Django \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043d\u043e \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u0447, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0438 \u043c\u043e\u0449\u043d\u044b\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440. \u041c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c mod_wsgi \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":97431,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-97430","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c Apache, Python \u0438 PostgreSQL \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b Django \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u041e\u0421 MS Windows. Django \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043d\u043e \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u0447, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0438 \u043c\u043e\u0449\u043d\u044b\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440. \u041c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c mod_wsgi \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c Django \u0441\u0442\u0435\u043a \u043d\u0430 MS Windows | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c Apache, Python \u0438 PostgreSQL \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b Django \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u041e\u0421 MS Windows. Django \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043d\u043e \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u0447, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0438 \u043c\u043e\u0449\u043d\u044b\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440. \u041c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c mod_wsgi \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-10-18T12:42:18+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-10-18T12:42:18+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Django-Stack auf MS Windows einrichten | ProHoster","description":"In diesem Artikel finden Sie eine detaillierte Anleitung zur Installation und Konfiguration der Programme Apache, Python und PostgreSQL, um die Funktionsweise eines Django-Projekts unter MS Windows zu gew\u00e4hrleisten. Django enth\u00e4lt bereits einen vereinfachten Entwicklungsserver f\u00fcr lokale Code-Tests, jedoch ist f\u00fcr produktionsbezogene Aufgaben ein sichererer und leistungsf\u00e4higerer Webserver erforderlich. Wir werden mod_wsgi f\u00fcr die Interaktion mit","canonical_url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"de_DE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u043c Django \u0441\u0442\u0435\u043a \u043d\u0430 MS Windows | ProHoster","og:description":"\u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c Apache, Python \u0438 PostgreSQL \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b Django \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u041e\u0421 MS Windows. Django \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043d\u043e \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u0447, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0438 \u043c\u043e\u0449\u043d\u044b\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440. \u041c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c mod_wsgi \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441","og:url":"https:\/\/prohoster.info\/de\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-10-18T12:42:18+00:00","article:modified_time":"2020-10-18T12:42:18+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"97430","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 10:20:31","updated":"2022-10-03 07:13:07"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/97430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/comments?post=97430"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/posts\/97430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media\/97431"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/media?parent=97430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/categories?post=97430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/de\/wp-json\/wp\/v2\/tags?post=97430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}