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

# Brug af GitHub Codespace

Den nemmeste måde at sætte din Overleaf Pro op på er at bruge GitHub Codespace, hvor alle miljøvariabler er forudkonfigureret, 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 lukke ned og vil fortsætte med at være **faktureret**. For reglerne for fakturering af GitHub Codespaces, se venligst [reglerne for fakturering af 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å følgende knap for at oprette din GitHub Codespace. Hvad angår serverkonfiguration, **2 kerner med 8 GB RAM** er som regel tilstrækkeligt til individuel daglig redigering. 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 henter 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å **Videresendt 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å knappen Registrer.

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

{% step %}

### God fornøjelse med at skrive

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