{"title":"하이퍼콘과 함께 장고를 사용하는 방법","version":"6.0","locale":"ko","docname":"howto/deployment/asgi/hypercorn","url":"/ko/6.0/howto/deployment/asgi/hypercorn/","canonical":"https://djangodocs.dev/ko/6.0/howto/deployment/asgi/hypercorn/","summary":"Hypercorn_은(는) 프로토콜 지원을 강조하여 HTTP/1, HTTP/2 및 HTTP/3을 지원하는 ASGI 서버입니다. 하이퍼콘 설치 Link to this heading # `` pip``로 Hypercorn을 설치할 수 있습니다. 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><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">``</span></a>pip``로 Hypercorn을 설치할 수 있습니다.</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><a class=\"extlink-pypi reference external\" href=\"https://pypi.org/project/Hypercorn`을 설치하면 ASGI 애플리케이션을 실행하는 ``hypercorn`/\">Hypercorn`을 설치하면 ASGI 애플리케이션을 실행하는 ``hypercorn`</a> 명령을 사용할 수 있습니다. Hypercorn은 ASGI 애플리케이션 객체가 포함된 모듈의 위치와 애플리케이션 이름을 함께 지정하여 호출해야 하며, 이 둘은 콜론으로 구분합니다.</p>\n<p>일반적인 Django 프로젝트의 경우 Hypercorn을 호출하는 방법은 다음과 같습니다.</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 가이드","url":"/ko/6.0/howto/"},{"docname":"howto/deployment/index","title":"장고를 배포하는 방법","url":"/ko/6.0/howto/deployment/"},{"docname":"howto/deployment/asgi/index","title":"ASGI를 사용하여 배포하는 방법","url":"/ko/6.0/howto/deployment/asgi/"}],"prev":{"docname":"howto/deployment/asgi/daphne","title":"다프네와 함께 django를 사용하는 방법","url":"/ko/6.0/howto/deployment/asgi/daphne/"},"next":{"docname":"howto/deployment/asgi/uvicorn","title":"django와 유비콘 사용방법","url":"/ko/6.0/howto/deployment/asgi/uvicorn/"},"formats":{"html":"/ko/6.0/howto/deployment/asgi/hypercorn/","markdown":"/ko/6.0/howto/deployment/asgi/hypercorn.md","json":"/ko/6.0/howto/deployment/asgi/hypercorn.json"},"source":"https://github.com/django/django/blob/stable/6.0.x/docs/howto/deployment/asgi/hypercorn.txt","official":"https://docs.djangoproject.com/ko/6.0/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"]}