> 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="https://2830694519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy5iPODl9iwLxyYirHs2D%2Fuploads%2Fbt74ZWGH1AWFDUpR99M2%2Fimage.png?alt=media&amp;token=64dc0bb4-55ba-4bee-98a4-d83eca63317a" 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="https://2830694519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy5iPODl9iwLxyYirHs2D%2Fuploads%2FWahF4GY88VwQ8Oo7bven%2Fimage.png?alt=media&amp;token=2c1c6081-e14d-4678-ba99-03d2d57f7ba7" 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="https://2830694519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy5iPODl9iwLxyYirHs2D%2Fuploads%2FBw0wqWZIskSSaKe42tUj%2Fimage.png?alt=media&amp;token=b6e1fb07-7ffe-4282-8642-1ae7029b7b4d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2830694519-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy5iPODl9iwLxyYirHs2D%2Fuploads%2F7jRuCGfRjBmZqE4WZ2Vu%2Fimage.png?alt=media&amp;token=fc2ec83f-15ac-49fb-b052-767284baa299" 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
