{"title":"Conas Django a úsáid le Gunicorn","version":"5.2","locale":"ga","docname":"howto/deployment/wsgi/gunicorn","url":"/ga/5.2/howto/deployment/wsgi/gunicorn/","canonical":"https://djangodocs.dev/ga/5.2/howto/deployment/wsgi/gunicorn/","summary":"Is freastalaí WSGI Pure-python do UNIX é Gunicorn ('Green Unicorn'). Níl aon spleáchais aige agus is féidir é a shuiteáil ag baint úsáide as pip . Gunicorn a…","html":"<h1>Conas Django a úsáid le Gunicorn<a class=\"heading-anchor\" href=\"#how-to-use-django-with-gunicorn\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Is freastalaí WSGI Pure-python do UNIX é <a class=\"reference external\" href=\"https://gunicorn.org/\">Gunicorn</a> ('Green Unicorn'). Níl aon spleáchais aige agus is féidir é a shuiteáil ag baint úsáide as <code class=\"docutils literal notranslate\"><span class=\"pre\">pip</span></code>.</p>\n<section id=\"installing-gunicorn\">\n<h2>Gunicorn a shuiteáil<a class=\"heading-anchor\" href=\"#installing-gunicorn\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Suiteáil gunicorn trí <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>python -m pip install gunicorn <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>a reáchtáil. Le haghaidh tuilleadh sonraí, féach an doiciméadú “gunicorn” _.</p>\n</section>\n<section id=\"running-django-in-gunicorn-as-a-generic-wsgi-application\">\n<h2>Rith Django i Gunicorn mar fheidhmchlár cineálach WSGI<a class=\"heading-anchor\" href=\"#running-django-in-gunicorn-as-a-generic-wsgi-application\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Nuair a shuiteáiltear Gunicorn, tá ordú <code class=\"docutils literal notranslate\"><span class=\"pre\">gunicorn</span></code> ar fáil a thosaíonn próiseas freastalaí Gunicorn. Is é an t-ainmniú is simplí ar gunicorn ná suíomh modúl ina bhfuil réad feidhmchláir WSGI darb ainm <code class=\"docutils literal notranslate\"><span class=\"pre\">feidhmchlár</span></code> a bheadh chuma air le haghaidh tipiciúil thionscadal Django:</p>\n<div class=\"code-block\" data-language=\"shell\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Shell</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Shell code\"><code>gunicorn<span class=\"w\"> </span>myproject.wsgi\n</code></pre></div>\n<p>Cuirfidh sé seo tús le próiseas amháin ag rith éisteacht snáithe amháin ar <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>127.0.0. 1:8000 <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">``</span></a>. Éilíonn sé go mbeadh do thionscadal ar chonair Python; is é an bealach is simplí chun é sin a chinntiú ná an t-ordú seo a reáchtáil ón eolaire céanna le do chomhad manage.py.</p>\n<p>Féach “doiciméadú imscartha” _ Gunicorn le haghaidh leideanna breise.</p>\n</section>","rootId":"how-to-use-django-with-gunicorn","toc":[{"title":"Gunicorn a shuiteáil","anchor":"installing-gunicorn","children":[]},{"title":"Rith Django i Gunicorn mar fheidhmchlár cineálach WSGI","anchor":"running-django-in-gunicorn-as-a-generic-wsgi-application","children":[]}],"breadcrumbs":[{"docname":"howto/index","title":"Treoracha conas","url":"/ga/5.2/howto/"},{"docname":"howto/deployment/index","title":"Conas Django a imscaradh","url":"/ga/5.2/howto/deployment/"},{"docname":"howto/deployment/wsgi/index","title":"Conas a imscaradh le WSGI","url":"/ga/5.2/howto/deployment/wsgi/"}],"prev":{"docname":"howto/deployment/wsgi/index","title":"Conas a imscaradh le WSGI","url":"/ga/5.2/howto/deployment/wsgi/"},"next":{"docname":"howto/deployment/wsgi/uwsgi","title":"Conas Django a úsáid le UWSgi","url":"/ga/5.2/howto/deployment/wsgi/uwsgi/"},"formats":{"html":"/ga/5.2/howto/deployment/wsgi/gunicorn/","markdown":"/ga/5.2/howto/deployment/wsgi/gunicorn.md","json":"/ga/5.2/howto/deployment/wsgi/gunicorn.json"},"source":"https://github.com/django/django/blob/stable/5.2.x/docs/howto/deployment/wsgi/gunicorn.txt","official":"https://docs.djangoproject.com/ga/5.2/howto/deployment/wsgi/gunicorn/","inVersions":["6.1","6.0","5.2"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}