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

# Brug af GitHub Codespace

Den nemmeste måde at konfigurere din Overleaf Pro på er at bruge GitHub Codespace, hvor alle miljøvariabler er forudkonfigurerede, så du kan bruge det med det samme.

{% hint style="warning" %}
Når du kører Docker-containere ved hjælp af GitHub Codespaces, vil Codespace ikke automatisk blive lukket ned og vil fortsat blive **faktureret**. For faktureringsreglerne for GitHub Codespaces, se venligst [faktureringsreglerne for GitHub Codespaces](https://docs.github.com/en/billing/concepts/product-billing/github-codespaces).

For at administrere dine GitHub Codespaces, besøg venligst <https://github.com/codespaces>. Når du ikke længere har brug for det, skal du slette din Codespace i tide.
{% endhint %}

Vi har **forudkonfigureret** følgende funktioner:

* [x] Skabelonsystem
* [x] Offentligt register
* [x] Sandbox-kompilering
* [x] Git-bro til Overleaf
* [x] Gennemgangspanel

{% stepper %}
{% step %}

### Opret din GitHub Codespace

Klik på den følgende knap for at oprette din GitHub Codespace. Hvad angår serverkonfiguration, **2 kerner med 8 GB RAM** er generelt tilstrækkeligt til daglig redigering for enkeltpersoner. Hvis du planlægger at samarbejde i et **lille team**, anbefaler vi at vælge en konfiguration med **4 kerner eller mere**.

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

{% step %}

### Initialiser Overleaf-instansen

Når din codespace er klar, skal du køre følgende kommando i din bash for at initialisere din Overleaf-instans.

{% code title="bash" %}

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

{% endcode %}

{% hint style="info" %}
Du skal muligvis vente mindst 3 minutter, før vi har hentet alle de Docker-images, du har brug for.
{% endhint %}

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

{% step %}

### Gør port 80 tilgængelig

Skift til **Porte** fanen, og følg derefter disse trin for at gøre port 80 offentlig.

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

Derefter kan du klikke på **videresendte adresse** for at besøge din Overleaf-instans. Du skal muligvis tilføje `/launchpad` for at besøge Overleafs velkomstside.
{% endstep %}

{% step %}

### Opret din administratorkonto

Indtast din administratorkonto og adgangskode, og klik derefter på Registrer-knappen.

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

{% step %}

### God skrivelyst

Nu er det tid til at nyde din $$\LaTeX$$ skrivning!

<figure><img src="/files/21ffb8dfebd81334dd4480fe349d963748f72c4a" 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/da/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.
