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

# Använda GitHub Codespace

Det enklaste sättet att konfigurera din Overleaf Pro är att använda GitHub Codespace, där alla miljövariabler är förkonfigurerade för att säkerställa att du kan använda den direkt.

{% hint style="warning" %}
När du kör Docker-containrar med GitHub Codespaces kommer Codespace inte att stängas av automatiskt och kommer att fortsätta att vara **debiterad**. För reglerna för debitering av GitHub Codespaces, se [regler för debitering av GitHub Codespaces](https://docs.github.com/en/billing/concepts/product-billing/github-codespaces).

För att hantera dina GitHub Codespaces, besök <https://github.com/codespaces>. När du inte längre behöver den, vänligen ta bort din Codespace i tid.
{% endhint %}

Vi har **förkonfigurerat** följande funktioner:

* [x] Mallsystem
* [x] Offentligt register
* [x] Sandboxkompilering
* [x] Git-brygga för Overleaf
* [x] Granskningspanel

{% stepper %}
{% step %}

### Skapa din GitHub Codespace

Klicka på följande knapp för att skapa din GitHub Codespace. När det gäller serverkonfiguration, **2 kärnor med 8 GB RAM** är vanligtvis tillräckligt för individuell daglig redigering. Om du planerar att samarbeta inom ett **litet team**, rekommenderar vi att du väljer en konfiguration med **4 kärnor eller mer**.

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

{% step %}

### Initiera Overleaf-instansen

När din Codespace är klar, kör följande kommando i din bash för att initiera din Overleaf-instans.

{% code title="bash" %}

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

{% endcode %}

{% hint style="info" %}
Du kan behöva vänta i minst 3 minuter innan vi hämtar alla Docker-avbildningar du behöver.
{% endhint %}

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

{% step %}

### Gör port 80 tillgänglig

Byt till **Portar** fliken och följ sedan dessa steg för att göra port 80 publik.

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

Därefter kan du klicka på **Vidarebefordrad adress** för att besöka din Overleaf-instans. Du kan behöva lägga till `/launchpad` för att besöka Overleafs välkomstsida.
{% endstep %}

{% step %}

### Skapa ditt administratörskonto

Ange ditt administratörskonto och lösenord, klicka sedan på knappen Registrera.

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

{% step %}

### Njut av skrivandet

Nu är det dags att njuta av din $$\LaTeX$$ skrivning!

<figure><img src="/files/8dfc3275e32c7f15600c5dfd05437969a28f349a" 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/sv/installation/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.
