> 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/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 så att du kan använda det direkt.

{% hint style="warning" %}
När du kör Docker-containrar med GitHub Codespaces kommer Codespace inte att stängas av automatiskt och fortsätter att vara **debiterad**. För faktureringsreglerna för GitHub Codespaces, se [faktureringsreglerna för 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, radera ditt Codespace i tid.
{% endhint %}

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

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

{% stepper %}
{% step %}

### Skapa ditt GitHub Codespace

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

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

{% step %}

### Initiera Overleaf-instansen

När ditt codespace är klart, 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

Växla till **fliken Portar** och följ sedan dessa steg för att göra port 80 offentlig.

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

Efter det 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 och klicka sedan på knappen Registrera.

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

{% step %}

### Njut av att skriva

Nu är det dags att njuta av ditt $$\LaTeX$$ skrivande!

<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://ayakaleaf-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.
