> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/on-premises-cs/instalace/using-the-github-codespace.md).

# Používání GitHub Codespace

Nejjednodušší způsob, jak nastavit váš Overleaf Pro, je použít GitHub Codespace, kde jsou všechny proměnné prostředí přednastaveny, aby vše fungovalo ihned po spuštění.

{% hint style="warning" %}
Když spouštíte kontejnery Docker pomocí GitHub Codespaces, Codespace se automaticky nevypne a bude dál **účtováno**. Pravidla účtování GitHub Codespaces naleznete na [pravidla účtování GitHub Codespaces](https://docs.github.com/en/billing/concepts/product-billing/github-codespaces).

Pro správu vašich GitHub Codespaces navštivte prosím <https://github.com/codespaces>. Jakmile jej již nebudete potřebovat, svůj Codespace prosím včas smažte.
{% endhint %}

Máme **přednastaveno** následující funkce:

* [x] Systém šablon
* [x] Veřejná registrace
* [x] Kompilace v sandboxu
* [x] Git Bridge pro Overleaf
* [x] Panel pro recenze

{% stepper %}
{% step %}

### Vytvořte si GitHub Codespace

Klikněte na následující tlačítko a vytvořte si GitHub Codespace. Co se týče konfigurace serveru, **2 jádra s 8 GB RAM** obvykle dostačují pro každodenní individuální úpravy. Pokud plánujete spolupracovat v rámci **malého týmu**, doporučujeme zvolit konfiguraci s **4 jádry nebo více**.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/ayaka-notes/overleaf)
{% endstep %}

{% step %}

### Inicializovat instanci Overleaf

Jakmile je váš codespace připraven, spusťte v bash následující příkaz k inicializaci vaší instance Overleaf.

{% code title="bash" %}

```bash
./init.sh
```

{% endcode %}

{% hint style="info" %}
Možná budete muset počkat alespoň 3 minuty, než stáhneme všechny potřebné Docker obrazy.
{% endhint %}

<figure><img src="/files/2e8e3d3de16f0b73f94d0ef0747c73fe6603d5b8" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Zpřístupnit port 80

Přepněte na **Porty** kartu a poté postupujte podle těchto kroků, aby byl port 80 veřejný.

<figure><img src="/files/ae1750fb3d007ed7d819ee098d4604b90cfb4059" alt=""><figcaption></figcaption></figure>

Poté můžete kliknout na **Přeposlaná adresa** pro přístup k vaší instanci Overleaf. Možná bude potřeba přidat `/launchpad` pro zobrazení uvítací stránky Overleaf.
{% endstep %}

{% step %}

### Vytvořte svůj administrátorský účet

Zadejte svůj administrátorský účet a heslo a poté klikněte na tlačítko Registrovat.

<figure><img src="/files/068648b580202920dc577407bea911c42f412138" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Užijte si psaní

Nyní je čas si užít své $$\LaTeX$$ psaní!

<figure><img src="/files/5c795bfe328de2ccc7e9c1def15c664b2ab200eb" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/on-premises-cs/instalace/using-the-github-codespace.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
