---
title: "Conas Django a úsáid le Hypercorn"
version: 6.1
locale: ga
source: https://docs.djangoproject.com/ga/6.1/howto/deployment/asgi/hypercorn/
canonical: https://djangodocs.dev/ga/6.1/howto/deployment/asgi/hypercorn/
---
# Conas Django a úsáid le Hypercorn

Is freastalaí ASGI é [Hypercorn](https://hypercorn.readthedocs.io/) a thacaíonn le HTTP/1, HTTP/2, agus HTTP/3 le béim ar thacaíocht prótacal.

## Suiteáil Hypercorn

Is féidir leat Hypercorn a shuiteáil le `pip`:

```shell
python -m pip install hypercorn
```

## Rith Django i Hypercorn

Nuair a bhíonn: PYPI: Hypercorn suiteáilte, tá ordú `hypercorn` ar fáil a ritheann feidhmchláir ASGI. Caithfear hypercorn a ghlaoch le suíomh modúl ina bhfuil réad feidhmchláir ASGI, agus mar a thugtar ar an bhfeidhmchlár ina dhiaidh sin (scartha le colon).

Maidir le tionscadal tipiciúil Django, bheadh cuma Hypercorn a ghairm air mar:

```shell
hypercorn myproject.asgi:application
```

Cuirfidh sé seo tús le próiseas amháin ag éisteacht ar 127.0.0. 1:8000 . Éilíonn sé go mbeidh do thionscadal ar chonair Python; chun a chinntiú go rith an t-ordú seo ón eolaire céanna le do chomhad manage.py.

\<[Hypercorn](https://hypercorn.readthedocs.io/)\>Le haghaidh úsáide níos airde, léigh an doiciméadú Hypercorn \_ le do thoil.
