Create a build and deploy

To Create an optimized production build and deploy, follow these steps:#

1. Navigate to the Dashboard:#
  • From the sidebar menu, click on "Site."
Site-deployment
2. Create a New Site:#
  • Click on + New site
Site-deployment

On the right side, you can see options to select the framework. Currently, we support:

  • React

  • Angular

  • Vite

  • Vue.js

  • Remix

  • Ember.js

    Click on the framework that your source code is based on.

Site-deployment
3. Choose Organization:#
  • Select the organization where you want to deploy the website.
Site-deployment
4. Deployment Options:#
  • Choose between:
    • Source Code Deployment: Upload your source code from your local device.
Site-deployment
  • GitHub Deployment: Provide the repository link and branch name. After entering the branch name and repo link, click on Done
Site-deployment
5. Configuration:#
  • Environment Variables: If your project requires environment variables, add them here.
  • Select Install Command: Enter the command used to install your project's software dependencies.
  • Build Command: Enter the command provided by your frontend framework for compiling your code.
  • Output Directory: Specify the directory where your compiled frontend will be located.
Site-deployment
6. Deploy Site:#
  • Click on the Deploy site button to initiate the deployment process.
Site-deployment
7. After Deployment:#
  • Once the deployment process is complete, click on the application to view its details.
Site-deployment
  • Click on Open Site to visit your website and verify the deployment.
Site-deployment
8. Custom-Domain Option:#
  • Below the application details, you'll find the custom domain option.
  • Click on that option to access the link where you can map your domain to the deployed website.
Site-deployment