> For the complete documentation index, see [llms.txt](https://docs.lagrangedao.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lagrangedao.org/spaces/build-space/option-2-web-interface.md).

# Option 2: Web Interface

You have the choice to create a new file or upload your existing files through the web interface.

### Create a New File

1\. Start by selecting the **Files and version** tab, and then clicking **Contribute** → **Create a new file.**

<figure><img src="/files/5vOIaqVbRL9F3Cx6WXLe" alt=""><figcaption></figcaption></figure>

2\. And then you can choose a name for your file, add content, and save your file by clicking on "Commit new file".

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

{% hint style="info" %}
When deploying a Space, provide either a **`dockerfile`** or **`deploy.yaml`**, or both. If both are provided, **`deploy.yaml`** takes precedence and will be executed while the **`dockerfile`**&#x77;ill be ignored.
{% endhint %}

### Upload Files

1.Start by selecting the **Files and version** tab, and then clicking **Contribute** → **Upload files.**

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

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

Note that, if you prefer, you can also utilize [**Lagrange-cli**](/spaces/intro/lagrange-cli.md) to upload code files to your Space
