> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configurare l'ambiente di sviluppo (Codespace)

> Configura il tuo ambiente di sviluppo con GitHub Codespace.

Per risparmiare tempo e creare rapidamente l'ambiente di sviluppo, forniamo un'ulteriore versione della configurazione dell'ambiente di sviluppo: GitHub Codespace.

## Guida alla configurazione

<Steps>
  <Step title="Creare i Codespaces">
    Fai clic sul pulsante seguente per creare un codespace nel cloud per lo sviluppo di server-pro.

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

    Si consiglia di scegliere un **Machine Type** di almeno **4-core**. Per tipi di macchina più grandi, puoi inviare una richiesta al team di supporto ufficiale di GitHub aprendo un ticket [qui](https://support.github.com/contact?tags=rr-codespaces%2Ccat_codespaces).

    <Frame>
      <img src="https://mintcdn.com/ayakaleaf-pro/x9kfDjtWlyyhG_mR/images/dev/image.png?fit=max&auto=format&n=x9kfDjtWlyyhG_mR&q=85&s=d723c8474a8fe076724ad4b8404c90a0" alt="" width="1319" height="990" data-path="images/dev/image.png" />
    </Frame>
  </Step>

  <Step title="Avviare lo script di configurazione">
    Dovrai attendere pazientemente che il codespace venga creato. Una volta che hai accesso al Terminale, esegui il comando seguente:

    ```text theme={null}
    cd develop/
    bin/setup
    ```

    <Frame>
      <img src="https://mintcdn.com/ayakaleaf-pro/x9kfDjtWlyyhG_mR/images/dev/image-1.png?fit=max&auto=format&n=x9kfDjtWlyyhG_mR&q=85&s=67fe318b5d049b5eb8317b41154ca3b4" alt="" width="1086" height="587" data-path="images/dev/image-1.png" />
    </Frame>

    <Warning>
      Questo script (`bin/setup`) ti consente di configurare l'ambiente di sviluppo sull'ultimo commit del branch `server-pro` nel minor tempo possibile. Potrebbe non essere applicabile a versioni precedenti o ad altri branch.

      Compiliamo l'immagine Docker di sviluppo ogni giorno con [GitHub Action](https://github.com/ayaka-notes/overleaf-pro/actions).
    </Warning>
  </Step>

  <Step title="Accedere al Launchpad">
    Passa alla scheda delle porte: vedrai un elenco delle porte web disponibili. Fai clic su quella con `80`. Ora dovresti vedere la pagina del launchpad.

    <Frame>
      <img src="https://mintcdn.com/ayakaleaf-pro/x9kfDjtWlyyhG_mR/images/dev/image-2.png?fit=max&auto=format&n=x9kfDjtWlyyhG_mR&q=85&s=649782162b3038fde73e6b9c3be0a5ce" alt="" width="1492" height="589" data-path="images/dev/image-2.png" />
    </Frame>

    Vedrai:

    <Frame>
      <img src="https://mintcdn.com/ayakaleaf-pro/x9kfDjtWlyyhG_mR/images/dev/image-3.png?fit=max&auto=format&n=x9kfDjtWlyyhG_mR&q=85&s=2cb7a394e9e4724a2145f5a631447237" alt="" width="1742" height="1183" data-path="images/dev/image-3.png" />
    </Frame>
  </Step>

  <Step title="Buon sviluppo">
    Ora tocca a te! Inizia a sviluppare la tua fantastica funzionalità. Devi eseguire il comando seguente per abilitare la visualizzazione in tempo reale:

    ```bash title="bash" wrap theme={null}
    docker compose -f docker-compose.yml -f docker-compose.dev.yml -f ./docker-compose.image.yml up --no-deps --detach
    ```
  </Step>
</Steps>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.