{"title":"하이퍼콘과 함께 장고를 사용하는 방법","version":"5.2","locale":"ko","docname":"howto/deployment/asgi/hypercorn","url":"/ko/5.2/howto/deployment/asgi/hypercorn/","canonical":"https://djangodocs.dev/ko/5.2/howto/deployment/asgi/hypercorn/","summary":"Hypercorn_은(는) 프로토콜 지원을 강조하여 HTTP/1, HTTP/2 및 HTTP/3을 지원하는 ASGI 서버입니다. 하이퍼콘 설치 Link to this heading # You can install Hypercorn with pip : Shell Copy python -m pip…","html":"<h1>하이퍼콘과 함께 장고를 사용하는 방법<a class=\"heading-anchor\" href=\"#how-to-use-django-with-hypercorn\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Hypercorn_은(는) 프로토콜 지원을 강조하여 HTTP/1, HTTP/2 및 HTTP/3을 지원하는 ASGI 서버입니다.</p>\n<section id=\"installing-hypercorn\">\n<h2>하이퍼콘 설치<a class=\"heading-anchor\" href=\"#installing-hypercorn\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>You can install Hypercorn with <code class=\"docutils literal notranslate\"><span class=\"pre\">pip</span></code>:</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>python<span class=\"w\"> </span>-m<span class=\"w\"> </span>pip<span class=\"w\"> </span>install<span class=\"w\"> </span>hypercorn\n</code></pre></div>\n</section>\n<section id=\"running-django-in-hypercorn\">\n<h2>하이퍼콘에서 Django 실행<a class=\"heading-anchor\" href=\"#running-django-in-hypercorn\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>When <a class=\"extlink-pypi reference external\" href=\"https://pypi.org/project/Hypercorn/\">Hypercorn</a> is installed, a <code class=\"docutils literal notranslate\"><span class=\"pre\">hypercorn</span></code> command is available\nwhich runs ASGI applications. Hypercorn needs to be called with the\nlocation of a module containing an ASGI application object, followed\nby what the application is called (separated by a colon).</p>\n<p>For a typical Django project, invoking Hypercorn would look like:</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>hypercorn<span class=\"w\"> </span>myproject.asgi:application\n</code></pre></div>\n<p>이로써 “127.0.0.1:8000”에 대한 청취가 시작된다. 프로젝트가 Python 경로에 있어야 합니다. <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>관리”와 동일한 디렉토리에서 이 명령을 실행해야 합니다.</p>\n<p>좀 더 고급스러운 용법은 ‘하이퍼콘 설명서’를 읽어주세요.</p>\n</section>","rootId":"how-to-use-django-with-hypercorn","toc":[{"title":"하이퍼콘 설치","anchor":"installing-hypercorn","children":[]},{"title":"하이퍼콘에서 Django 실행","anchor":"running-django-in-hypercorn","children":[]}],"breadcrumbs":[{"docname":"howto/index","title":"How-to guides","url":"/ko/5.2/howto/"},{"docname":"howto/deployment/index","title":"장고를 배포하는 방법","url":"/ko/5.2/howto/deployment/"},{"docname":"howto/deployment/asgi/index","title":"ASGI를 사용하여 배포하는 방법","url":"/ko/5.2/howto/deployment/asgi/"}],"prev":{"docname":"howto/deployment/asgi/daphne","title":"다프네와 함께 django를 사용하는 방법","url":"/ko/5.2/howto/deployment/asgi/daphne/"},"next":{"docname":"howto/deployment/asgi/uvicorn","title":"django와 유비콘 사용방법","url":"/ko/5.2/howto/deployment/asgi/uvicorn/"},"formats":{"html":"/ko/5.2/howto/deployment/asgi/hypercorn/","markdown":"/ko/5.2/howto/deployment/asgi/hypercorn.md","json":"/ko/5.2/howto/deployment/asgi/hypercorn.json"},"source":"https://github.com/django/django/blob/stable/5.2.x/docs/howto/deployment/asgi/hypercorn.txt","official":"https://docs.djangoproject.com/ko/5.2/howto/deployment/asgi/hypercorn/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}