> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy your first release

> Run release_deploy.py to upload the sample files to your CDN.

Deploying a release takes files from your build machine and uploads them to your CDN in a format the launcher can sync. The release package includes sample source files in the `\samples\source\` folder for this step.

In the commands below, replace `<package>` with the folder where you extracted the release package.

## Run the deploy script

1. Press **Windows + R**, type `cmd` and press **Enter** to open a command prompt.
2. Go to the folder that contains Python 3.13. If you installed it to the default folder, it's similar to `C:\Users\{username}\AppData\Local\Programs\Python\Python313`.
3. Run `release_deploy.py` with the sample configuration file and source folder:

   ```bash theme={null}
   python.exe <package>\deploy\release_deploy.py --config=<package>\samples\config\deploy_cdn.json --source=<package>\samples\source\
   ```

The script converts the files into `.solidpiece` files as it uploads them to your CDN, and creates the metadata files the launcher needs to sync this repository. It shows status messages as it runs.

> [!NOTE]
>
> End the `--source` path with a trailing backslash (`\`).

## About deploy\_cdn.json

`deploy_cdn.json` tells the script what you're deploying and where. Its values are unique to your company. It looks like this:

```json theme={null}
{
  "base_url": "https://<your-cdn-base-url>/",
  "repository": "gameclient",
  "sync_directory": "<your-sync-directory>/",
  "version": "1.0"
}
```

## Paths with spaces

If the path to your source folder has spaces, put it in quotes. The Windows command prompt treats a backslash before the closing quote as an escape, so use one of these instead:

* End the path with two backslashes: `"c:\path\with spaces\sample\source\\"`
* Use forward slashes: `"c:/path/with spaces/sample/source/"`
* Set the source in `deploy_cdn.json`: `"source": "c:/path/with spaces/sample/source/",`

Next, [promote your release to a test environment](https://docs.directgvr.com/quick-start/promote-release.md).


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