How to deploy NFT Drop template to Railway

In this support article, you'll learn how to deploy thirdweb NFT Drop template quickly to Railway. No extra configuration or setup is needed. Without further ado, let’s get started!

Getting Started

  1. Create a new project.
  1. Allow all domains for now. Later, we can configure the domain of your project.
    1. Notion image
  1. After that, go to this Railway template and select “Deploy.”
    1. Notion image
  1. Lastly, hit “Deploy,” and that’s it!

Advanced Customization

Custom Domain

You can customize the domain of your project from the Railway settings.

Notion image
  1. Navigate to the Service we created, and you'll get the service details.
  1. Proceed to the Settings tab and then look for Networking.
  1. You have two options: update the randomized Railway domain or add your domain name. Read more about this here.
  1. Lastly, copy your domain name or the URL of it to your project settings and add it to the allowlist of your client ID. See example below.
    1. Notion image

Customizing Minting Page

You can customize the page before you deploy the template. You can also update this using the railway's environment variables.

Notion image

Upon Deployment Customization

  1. Customize your minting page's web application icon using a valid URL for a hosted asset.
  1. Use your project name as the title of your minting page for better recognition.
  1. Add a project description—this will appear as metadata when you share the URL.
  1. Note: This only applies when using Edition Drop, Edition, or any ERC-1155 smart contract.

Environment Variable Customization

  1. Navigate to the “Variables” tab from your Service options.
    1. Notion image
  1. A modal will pop-up and add your details or your desired customization. It looks like below.
    1. Notion image
  1. Update the variables and then that’s it.

Can’t get this working? If you've followed the above and still have issues, contact our support team for help.

 
Did this answer your question?
😞
😐
🤩