ArDrive

Create A Deployment (Arweave Manifest)

A deployment publishes a folder at one Arweave address, with each file at a friendly path. ArDrive stores it as an Arweave manifest.

An Arweave manifest maps file names and paths to Arweave transaction IDs. A gateway reads it, so you can open files by name:

https://turbo-gateway.com/MANIFEST_TX_ID/index.html
https://turbo-gateway.com/MANIFEST_TX_ID/images/logo.png

Replace MANIFEST_TX_ID with the transaction ID of the deployment.

Without a manifest, each file has its own address made of its transaction ID. For how manifests work, see Arweave Manifests.

To publish a drive, a folder, or a single file as a web page, use Publish to web. Use a deployment when you want a website or an app at one address, for example one that you also name with Names.

Create a deployment

You can create a deployment only in a public drive.

  1. Open the public drive.

  2. Click New, click Advanced, and click New deployment.

  3. In Deployment name, enter a name for the deployment.

  4. Under Folder, open the folder to publish. Stay at the top to use the whole drive. The deployment includes every file in the folder and its subfolders. Click the arrow at the left of the folder name to go back up.

    New deployment, with the deployment name, the folder, and the fallback page

  5. Optional: enter a Fallback page (optional). This is the transaction ID of the file that opens when a path isn't found, such as a 404 page. ArDrive says "Invalid transaction ID" if the ID isn't valid.

  6. Click Review.

  7. Review the deployment. ArDrive shows its size and its Cost. A small deployment is usually free when your free upload allowance covers it. The review then shows Free and says "Covered by your free upload allowance". A larger deployment costs Turbo Credits.

    Create deployment, with the size, the cost of Free, and Create deployment

  8. Optional: open Give it a name like yours.ar.io to point a name you own at it. See Names.

  9. Click Create deployment. The dialog stays open while ArDrive prepares, uploads, and creates the deployment.

If the folder already has a file or folder with that name, ArDrive says Name already in use and you choose another name with Use name. If it already has a deployment with that name, ArDrive says Deployment already exists and "Creating this one adds a new version of it." Click Create new version to continue.

When it finishes, Deployment created shows the Address of the deployment. Click Open to see it. If ArDrive says "The deployment was created, but the name couldn't be set.", set the name from Names.

If ArDrive says Couldn't create deployment, nothing is lost. If it says the deployment may have been sent and paid for, sync the drive to check before you create it again.

ArDrive leaves hidden files and folders out of the deployment. The review warns that files uploaded here are viewable by anyone on the internet, so publish only what you want everyone to see.

To store the files of a deployment smaller, see Compress text and code.

If some files in the folder are still pending, ArDrive says "Some files in this folder are still pending. We don't recommend creating a deployment until they're confirmed."

The deployment appears in your drive as a file of type Deployment.

Open a deployment

Open the link of the deployment to see its default page. A deployment opens index.html if it has one. If it has none, the first file in the deployment opens, and all other files stay reachable by their paths.

To check the paths a deployment uses, open its raw manifest in your browser at turbo-gateway.com/raw/MANIFEST_TX_ID.

Update a deployment

After you change the files, create a deployment again with the same name. ArDrive adds a new version of the deployment with the new transaction IDs. Earlier versions stay on Arweave.

Import files from a manifest

New, Advanced, Import from deployment adds the files that an existing deployment lists to your drive.

  1. In Deployment ID, enter the ID of the deployment. ArDrive says "Enter the ID of the deployment to import files from."

    Import from deployment, with the Deployment ID field

  2. In Review files, check how many files will be imported. If some files already exist in the folder, ArDrive lists them and asks "Replace them?" Click Replace files to replace them.

  3. Click Import.

ArDrive says Import complete and how many files it imported. If the import stops, it says how many files were imported before it stopped.

Customize a manifest

The ArDrive CLI can create a manifest from a public drive or folder and export a preview. You can edit the preview, for example to add transaction IDs that aren't in your drive, and upload it with the CLI. See the docs portal.