> For the complete documentation index, see [llms.txt](https://overleaf-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://overleaf-pro.ayaka.space/on-premises/on-premises-cs/instalace/using-the-github-codespace.md).

# Používání GitHub Codespace

Nejjednodušší způsob, jak nastavit svůj Overleaf Pro, je použít GitHub Codespace, kde jsou všechny proměnné prostředí předem nakonfigurovány, aby bylo zajištěno, že jej můžete používat ihned po spuštění.

{% hint style="warning" %}
Když spouštíte kontejnery Docker pomocí GitHub Codespaces, Codespace se automaticky nevypne a bude pokračovat v tom, že bude **zpoplatňován**. Pro pravidla účtování GitHub Codespaces se prosím podívejte na [pravidla účtování GitHub Codespaces](https://docs.github.com/en/billing/concepts/product-billing/github-codespaces).

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

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

* [x] Systém šablon
* [x] Veřejný registr
* [x] Kompilace v sandboxu
* [x] Git bridge pro Overleaf
* [x] Kontrolní panel

{% stepper %}
{% step %}

### Vytvořte svůj GitHub Codespace

Kliknutím na následující tlačítko vytvoříte svůj GitHub Codespace. Pokud jde o konfiguraci serveru, **2 jádra s 8 GB RAM** obvykle postač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 %}

### Inicializujte instanci Overleaf

Až bude váš codespace připraven, spusťte ve svém bashi 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é obrazy Dockeru.
{% endhint %}

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

{% step %}

### Zpřístupněte 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 otevření vaší instance Overleaf. Možná budete muset přidat `/launchpad` pro zobrazení uvítací stránky Overleaf.
{% endstep %}

{% step %}

### Vytvořte si administrátorský účet

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

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

{% step %}

### Užívejte si psaní

Teď 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://overleaf-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.
