> 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/fi/asennus/using-the-github-codespace.md).

# GitHub Codespacen käyttö

Helpoin tapa määrittää Overleaf Pro on käyttää GitHub Codespacea, jossa kaikki ympäristömuuttujat on esiasetettu, jotta voit käyttää sitä heti.

{% hint style="warning" %}
Kun suoritat Docker-säilöitä GitHub Codespacesissa, Codespace ei sammu automaattisesti ja siitä **laskutetaan**. GitHub Codespacesin laskutussääntöjen osalta katso [GitHub Codespacesin laskutussäännöt](https://docs.github.com/en/billing/concepts/product-billing/github-codespaces).

Hallinnoidaksesi GitHub Codespacejasi, käy osoitteessa <https://github.com/codespaces>. Kun et enää tarvitse sitä, poista Codespace ajoissa.
{% endhint %}

Olemme **esiasettaneet** seuraavat ominaisuudet:

* [x] Mallipohjajärjestelmä
* [x] Julkinen rekisteri
* [x] Hiekkalaatikkokääntäminen
* [x] Git-silta Overleafille
* [x] Arviointipaneeli

{% stepper %}
{% step %}

### Luo GitHub Codespace

Napsauta seuraavaa painiketta luodaksesi GitHub Codespacen. Palvelinkokoonpanon osalta, **2 ydintä ja 8 Gt RAM-muistia** riittävät yleensä yksittäiseen päivittäiseen muokkaukseen. Jos aiot tehdä yhteistyötä **pienessä tiimissä**, suosittelemme valitsemaan kokoonpanon, jossa on **4 ydintä tai enemmän**.

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

{% step %}

### Alusta Overleaf-instanssi

Kun codespace on valmis, suorita seuraava komento bashissa alustaaksesi Overleaf-instanssisi.

{% code title="bash" %}

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

{% endcode %}

{% hint style="info" %}
Saatat joutua odottamaan vähintään 3 minuuttia, ennen kuin lataamme kaikki tarvitsemasi Docker-kuvat.
{% endhint %}

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

{% step %}

### Tee portti 80 saataville

Siirry **Portit** välilehdelle ja seuraa sitten näitä ohjeita tehdäksesi portista 80 julkisen.

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

Sen jälkeen voit napsauttaa **Välitetty osoite** siirtyäksesi Overleaf-instanssiisi. Saatat joutua lisäämään `/launchpad` päästäksesi Overleafin tervetulosivulle.
{% endstep %}

{% step %}

### Luo ylläpitäjätilisi

Syötä ylläpitäjätilisi ja salasanasi, sitten napsauta Rekisteröidy-painiketta.

<figure><img src="/files/5539662a65563f216d1afbb5b521ad68c884fccf" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Nauti kirjoittamisesta

Nyt on aika nauttia $$\LaTeX$$ kirjoittamisesta!

<figure><img src="/files/aa2104060af042503f2ee14d13d1ae69e495b249" 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/fi/asennus/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.
