Skip to main content

Deploy Your Project

To access the "Hello world!" page in your browser, you must first define a cluster, so that Flinkwerk can automatically deploy it.

info

You can choose a cluster available in Flinkwerk Marketplace or bring your own cluster.

  1. During the Beta Preview, Flinkwerk provides a free trial cluster. Add it to the .flinkwerk/config.yaml configuration with these lines.

    .flinkwerk/config.yml
    global:
    my-cluster:
    type: cluster
    sku: flinkwerk/trial

    You can replace my-cluster with any name you want to give to your cluster. The sku field denotes the unique Stock Keeping Unit of a cluster in Flinkwerk Marketplace.

  2. Next, build your project.

    flinkwerk build
  3. Deploy your project by executing this command.

    flinkwerk deploy

    Your HTML file will then be accessible under this preview URL with the respective values for the owner and project name you defined previously.

    https://main--my-project.my-cluster.my-account.flinkwerk.dev

    This URL incorporates the branch name from the Git repository. This example assumes that the code is in the main branch of the local Git repository.