Treoir suiteála tapaLink to this heading
Sula féidir leat Django a úsáid, beidh ort é a shuiteáil. Tá :d oc: 'treoir `suiteála iomlán </topics/install> againn a chlúdaíonn na féidearthachtaí go léir; Tabharfaidh an treoir seo treoir duit maidir le suiteáil íosta a oibreoidh agus tú ag siúl tríd an réamhrá.
Suiteáil PythonLink to this heading
A bheith ina chreat gréasáin Python, éilíonn Django Python. Féach :tag:`faq-python-version-support` le haghaidh sonraí. Áiríonn Python bunachar sonraí éadrom ar a dtugtar SQLite mar sin ní bheidh ort bunachar sonraí a bhunú go fóill.
Faigh an leagan is déanaí de Python ag https://www.python.org/downloads/ nó le bainisteoir pacáiste do chórais oibriúcháin.
Is féidir leat a fhíorú go bhfuil Python suiteáilte trí `` python`` a chlóscríobh ó do bhlaosc; ba cheart duit rud éigin mar seo a fheiceáil:
Python 3.x.y
[GCC 4.x] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Socraigh bunachar sonraíLink to this heading
Níl an chéim seo riachtanach ach amháin más mian leat oibriú le hinneall bunachar sonraí "mór" mar PostgreSQL, MariaDB, MySQL, nó Oracle. Chun a leithéid de bhunachar sonraí a shuiteáil, féach ar an faisnéis suiteála bunachar sonraí.
Suiteáil DjangoLink to this heading
Tá trí rogha agat Django a shuiteáil:
:ref:'Suiteáil scaoileadh oifigiúil<installing-official-release>'. Is é seo an cur chuige is fearr d'fhormhór na n-úsáideoirí.
Suiteáil leagan de Django :ref:'provided by your operating system distribution<installing-distribution-package>'.
Install the latest development version. This option is for enthusiasts who want the latest-and-greatest features and aren't afraid of running brand new code. You might encounter new bugs in the development version, but reporting them helps the development of Django. Also, releases of third-party packages are less likely to be compatible with the development version than with the latest stable release.
FíorúLink to this heading
Chun a fhíorú gur féidir Django a fheiceáil ag Python, clóscríobh `` python`` ó do bhlaosc. Ansin ag an leid Python, déan iarracht Django a allmhairiú:
>>> import django >>> print(django.get_version()) 6.1
B'fhéidir go bhfuil leagan eile de Django suiteáilte agat.
Sin é!Link to this heading
Sin é -- is féidir leat anois :d oc:move into the tutorial </intro/tutorial01>.