{"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\/sq\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows","title":{"rendered":"Ngremi stack-un Django n\u00eb MS Windows","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/de363346ec00c3ca60248ab868ae6e83.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nN\u00eb k\u00ebt\u00eb artikull do t\u00eb paraqitet nj\u00eb udh\u00ebzues i detajuar p\u00ebr instalimin dhe konfigurimin e programeve Apache, Python dhe PostgreSQL p\u00ebr t\u00eb siguruar funksionimin e projektit Django n\u00eb sistemin operativ MS Windows. Django tashm\u00eb p\u00ebrfshin nj\u00eb server t\u00eb thjeshtuar zhvillimi p\u00ebr testimin lokal t\u00eb kodit, por p\u00ebr detyrat q\u00eb lidhen me prodhimin, nevojitet nj\u00eb server web m\u00eb i sigurt dhe m\u00eb i fuqish\u00ebm. Ne do t\u00eb konfigurojm\u00eb mod_wsgi p\u00ebr t\u00eb komunikuar me projektin ton\u00eb dhe do t\u00eb konfigurojm\u00eb Apache si nj\u00eb kalim n\u00eb bot\u00ebn e jashtme.<\/p>\n<p>Duhet theksuar se instalimi dhe konfigurimi do t\u00eb kryhet n\u00eb sistemin operativ MS Windows 10 me 32 bit. Gjithashtu, p\u00ebrgjigjja 32 bit do t\u00eb jet\u00eb universale dhe do t\u00eb funksionoj\u00eb n\u00eb arkitektur\u00ebn 64 bit. N\u00ebse ju nevojitet nj\u00eb instalim 64 bit, p\u00ebrs\u00ebrisni t\u00eb nj\u00ebjtat veprime p\u00ebr distribucione 64 bit t\u00eb programeve, renditja e veprimeve do t\u00eb jet\u00eb identike.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nSi projekt Django do t\u00eb p\u00ebrdorim programin Severcart. Ai \u00ebsht\u00eb i destinuar p\u00ebr menaxhimin e l\u00ebvizjeve t\u00eb cartridg\u00ebve, mbajtjen e llogarive t\u00eb pajisjeve printuese dhe kontratave t\u00eb furnizimit dhe mb\u00ebshtetjes. Instalimi i t\u00eb gjitha programeve dhe moduleve do t\u00eb kryhet n\u00eb katalogun C:severcart. Vendi nuk \u00ebsht\u00eb thelb\u00ebsor.<\/p>\n<h2>Python<\/h2>\n<p>\nHapi i par\u00eb \u00ebsht\u00eb shkarkimi dhe instalimi i Python nga faqja e internetit t\u00eb Python. Zgjidhim Windows si sistem operativ dhe versionin 32-bit. N\u00eb momentin e shkrimit t\u00eb artikullit, versioni aktual \u00ebsht\u00eb 3.9.0rc2. <\/p>\n<p>Pas shkarkimit t\u00eb skedarit t\u00eb instalimit, klikoni me t\u00eb djatht\u00ebn mbi skedarin e instalimit dhe zgjidhni \"Ekzekuto si administrator\". Duhet t\u00eb shihni ekranin m\u00eb posht\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/c8fe6c059b7218ec90fa017e5dce8d48.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nVendosim shenjat n\u00eb kutit\u00eb \"Install launcher for all users (recommended)\" dhe \"Add Python 3.9 to PATH\" dhe klikojm\u00eb n\u00eb \"Customize installation\". <\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/b8170ca83eaf6b8072849786468e3056.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nVendosim shenjat n\u00eb \"pip\", \"py launcher\", \"for all users (requires elevation)\" dhe klikojm\u00eb \"Next\". <\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/693600dd91d5356b68d4c9dc66b36e20.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nZgjidhim t\u00eb gjitha fushat si n\u00eb imazhin m\u00eb lart dhe klikojm\u00eb \"Install\".<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/486fdba7507f5453ebe03b02dd6ce9df.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nP\u00ebr t'u siguruar q\u00eb instalimi kaloi me sukses, hapni cmd dhe shkruani python. N\u00ebse instalimi \u00ebsht\u00eb kryer me sukses, duhet t\u00eb shihni nj\u00eb k\u00ebrkes\u00eb t\u00eb ngjashme me at\u00eb m\u00eb posht\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/b2013faa9e4450095f71f2c1c6aecd01.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h2>Instalojm\u00eb mod_wsgi.<\/h2>\n<p>\nShkarko paket\u00ebn e p\u00ebrgatitur me mod_wsgi nga faqja.<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/\">www.lfd.uci.edu\/~gohlke\/pythonlibs<\/a><\/noindex>. Moduli vepron si nd\u00ebrmjet\u00ebs midis serverit Apache dhe projektit Django. Paketa m\u00eb e fundit do t\u00eb ket\u00eb emrin mod_wsgi-4.7.1-cp39-cp39-win32.whl. Kujdes: paketa \u00ebsht\u00eb kompiliuar p\u00ebr versionin 32-bit t\u00eb Windows CPython 3.9. Vlen t\u00eb p\u00ebrmendet se instalimi i modulit me pip install mod_wsgi do t\u00eb p\u00ebrfundoj\u00eb me ndonj\u00eb gabim, pasi gjat\u00eb instalimit do t\u00eb nevojitet nj\u00eb kompilues Visual Studio C++. Konsiderohet se nuk ka kuptim t\u00eb instalosh t\u00ebr\u00eb kompiluesin vet\u00ebm p\u00ebr nj\u00eb paket\u00eb Python n\u00eb Windows.<\/p>\n<p>Instalojm\u00eb modul nga menaxheri i paketave standard pip n\u00eb cmd ose 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=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/f165fb3a8f313a088d37a63acf29e37f.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h2>Apache<\/h2>\n<p>\nShkarkojm\u00eb distribucionin nga faqja <noindex><a rel=\"nofollow\" href=\"https:\/\/www.apachelounge.com\/download\/\">https:\/\/www.apachelounge.com\/download\/<\/a><\/noindex>.<br \/>\nVersioni m\u00eb i fundit i serverit Web \u00ebsht\u00eb Apache 2.4.46 win32 VS16. Po ashtu, p\u00ebr t\u00eb punuar programi do t\u00eb nevojitet t\u00eb instalohet paraprakisht paketa \u00abVisual C++ Redistributable for Visual Studio 2019 x86\u00bb.<\/p>\n<p>Shk\u00ebputni distribucionin Apache n\u00eb katalogun C:\/severcart\/Apache24, pastaj ndryshoni rreshtin me num\u00ebr 37 me tuajin <\/p>\n<pre><code class=\"plaintext\">Define SRVROOT &quot;C:\/severcart\/Apache24&quot;\n<\/code><\/pre>\n<p>Kontrolloni funksionimin e Apache, duke ekzekutuar n\u00eb komand\u00ebn e linj\u00ebs<\/p>\n<pre><code class=\"plaintext\">C:\/severcart\/Apache24\/bin&gt; httpd.exe\n<\/code><\/pre>\n<p>Si rezultat, duhet t\u00eb shihni n\u00eb shfletues adres\u00ebn <noindex><a rel=\"nofollow\" href=\"http:\/\/127.0.0.1\">127.0.0.1<\/a><\/noindex> shkronj\u00ebn \u00abIt works!\u00bb.<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/1a98aa64defa2751ff6749cf0dde6111.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nInstalojm\u00eb sh\u00ebrbimin Apache, p\u00ebr k\u00ebt\u00eb do t\u00eb ekzekutojm\u00eb n\u00eb komand\u00ebn e linj\u00ebs si Administrator udh\u00ebzimin:<\/p>\n<pre><code class=\"plaintext\">C:severcartApache24bin&gt;httpd.exe -k install -n &quot;Apache24&quot;\n<\/code><\/pre>\n<p>M\u00eb pas do t\u00eb lidhim modulimin mod_wsgi me Apache. P\u00ebr k\u00ebt\u00eb, do t\u00eb ekzekutojm\u00eb udh\u00ebzimin n\u00eb komand\u00ebn e komand\u00ebs<\/p>\n<pre><code class=\"plaintext\">C:Windowssystem32&gt;mod_wsgi-express module-config\n<\/code><\/pre>\n<p>Si rezultat, rreshtat do t\u00eb printohen n\u00eb standardin e daljes:<\/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>Krijojm\u00eb skedarin C:severcartApache24confextrahttpd-wsgi.conf dhe kopjojm\u00eb rreshtat e printuar m\u00eb lart atje.<\/p>\n<p>Lidhim konfigurimin e ri me skedarin kryesor httpd.conf<br \/>\nInclude conf\/extra\/httpd-wsgi.conf<\/p>\n<p>Ruajm\u00eb ndryshimet, restarojm\u00eb sh\u00ebrbimet Apache<\/p>\n<pre><code class=\"plaintext\">Net stop Apache24\nNet start Apache24\n<\/code><\/pre>\n<h2>PostgreSQL<\/h2>\n<p>\nInstalojm\u00eb PostgreSQL t\u00eb marr\u00eb nga faqja <noindex><a rel=\"nofollow\" href=\"https:\/\/postgrespro.ru\/windows\">https:\/\/postgrespro.ru\/windows<\/a><\/noindex>. Versioni aktual i produktit \u00ebsht\u00eb 12. Avantazhet e distribucionit rus n\u00eb krahasim me at\u00eb kanonik jan\u00eb paraqitur n\u00eb t\u00eb nj\u00ebjt\u00ebn faqe.<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/16affe5b672ec0827d3f8383a5cd7e5b.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/4bbe6a2d7969004810d63cf0bc5cc997.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/ece2de69ef99bd3edb405e9fa007528e.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/d7c31973dafaed10eb8a0aa6a1bfe6f7.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/19abee4c820fb3f8863f44e583ac38d4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/a9ae6e10f94eb5b67d7477aecb00c6f4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/2b97c774ee19ebb6d22b7790fcffe07e.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/3f21673df0e24952b602fbd92a650a27.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/d4182e473004b4542971585fc70e5515.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/45c14ec0f05a49202544cd2c7ec679ff.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nVeprimet p\u00ebr instalimin jan\u00eb p\u00ebrmendur m\u00eb lart dhe nuk kan\u00eb nevoj\u00eb p\u00ebr koment. Instalimi \u00ebsht\u00eb shum\u00eb i thjesht\u00eb.<\/p>\n<p>Krijojm\u00eb DB n\u00eb postgres, ku m\u00eb pas do t\u00eb ruajm\u00eb strukturat e t\u00eb dh\u00ebnave t\u00eb projektit Django.<\/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=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/2c39b4bff6a223f5919ba22bb51f687d.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDB e krijuar. Tani zhvillojm\u00eb projektin Django.<\/p>\n<h2>Instalojm\u00eb aplikacionin web<\/h2>\n<p>\nP\u00ebr k\u00ebt\u00eb, shkarkojm\u00eb arkiv ZIP nga faqja. <noindex><a rel=\"nofollow\" href=\"https:\/\/www.severcart.ru\/downloads\/\">https:\/\/www.severcart.ru\/downloads\/<\/a><\/noindex> dhe shfryt\u00ebzojm\u00eb n\u00eb katalogun C:severcartapp<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/9a7b608b06621a725e89dbe6ae5ffa03.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nB\u00ebjm\u00eb ndryshime n\u00eb skedarin kryesor t\u00eb konfigurimit C:severcartappconfsettings_prod.py p\u00ebr t\u00eb specifikuar t\u00eb dh\u00ebnat e lidhjes me DB<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/10e0ff2cc26dd1280187839fc72afad0.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nFjalori Python DATABASES p\u00ebrmban t\u00eb dh\u00ebnat e lidhjes me DB. Detajet p\u00ebr konfigurimin mund t'i lexoni k\u00ebtu <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>Instalojm\u00eb paketat Python t\u00eb r\u00ebnd\u00ebsishme p\u00ebr funksionimin e aplikacioneve brenda projektit Django<\/p>\n<pre><code class=\"plaintext\">C:severcartapptkinstaller&gt;python install.py\n<\/code><\/pre>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/331bbe2d9e0df05418342d319ea2a4d4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nGjat\u00eb procesit t\u00eb skenarit do t\u00eb realizohet inicializimi i DB me tabela, konstruktor\u00eb, indekse dhe t\u00eb tjera, dhe do t\u00eb k\u00ebrkohet t\u00eb krijoni nj\u00eb p\u00ebrdorues me em\u00ebr nga i cili do t\u00eb kryhet puna n\u00eb program.<\/p>\n<p>Lidhim aplikacionin Django me serverin Apache, p\u00ebr k\u00ebt\u00eb, plot\u00ebsojm\u00eb skedarin e konfigurimit <br \/>\nhttpd-wsgi.conf me tekstin e m\u00ebposht\u00ebm<\/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>\nRikthejm\u00eb sh\u00ebrbimin Apache dhe kontrollojm\u00eb funksionimin e aplikacionit<\/p>\n<p><img decoding=\"async\" alt=\"Ngremi stack-un Django n\u00eb MS Windows\" src=\"\/wp-content\/uploads\/2020\/10\/5ae877d7f7ddfe3e552eead0c147e6f6.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nK\u00ebtu po p\u00ebrfundojm\u00eb. Faleminderit q\u00eb e lexuat deri n\u00eb fund.<\/p>\n<p>N\u00eb artikullin e ardhsh\u00ebm do t\u00eb krijojm\u00eb nj\u00eb arkiv vet\u00eb-shk\u00ebput\u00ebs n\u00eb InnoSetup p\u00ebr shp\u00ebrndarjen e shpejt\u00eb t\u00eb projektit Django n\u00eb kompjuterin e klientit. P\u00ebr ata q\u00eb duan t\u00eb p\u00ebrs\u00ebrisin t\u00eb gjitha veprimet n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/yadi.sk\/d\/vqn9FN2EJjBQxA\">Yandex.Disk<\/a><\/noindex> t\u00eb ngarkuar jan\u00eb t\u00eb gjitha distribucionet e p\u00ebrdorura.<br \/>\n<br \/>Burimi: <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\/sq\/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=\"sq_AL\" \/>\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\/sq\/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\udd47Ngrem\u00eb stack-in Django n\u00eb MS Windows | ProHoster","description":"N\u00eb k\u00ebt\u00eb artikull do t\u00eb paraqitet nj\u00eb udh\u00ebzues i detajuar p\u00ebr instalimin dhe konfigurimin e programeve Apache, Python dhe PostgreSQL p\u00ebr t\u00eb siguruar funksionimin e projektit Django n\u00eb sistemin operativ MS Windows. Django tashm\u00eb p\u00ebrmban nj\u00eb server zhvillimi t\u00eb thjesht\u00eb p\u00ebr testimin lokal t\u00eb kodit, por p\u00ebr detyrat q\u00eb lidhen me prodhimin, k\u00ebrkohet nj\u00eb server web m\u00eb i sigurt dhe m\u00eb i fuqish\u00ebm. Ne do t\u00eb konfigurojm\u00eb mod_wsgi p\u00ebr t\u00eb bashk\u00ebvepruar me","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/podnimaem-django-stek-na-ms-windows","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","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\/sq\/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\/sq\/wp-json\/wp\/v2\/posts\/97430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=97430"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/97430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/97431"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=97430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=97430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=97430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}