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.
During the Beta Preview, Flinkwerk provides a free trial cluster. Add it to the
.flinkwerk/config.yaml
configuration with these lines..flinkwerk/config.ymlglobal:
my-cluster:
type: cluster
sku: flinkwerk/trialYou can replace
my-cluster
with any name you want to give to your cluster. Thesku
field denotes the unique Stock Keeping Unit of a cluster in Flinkwerk Marketplace.Next, build your project.
flinkwerk build
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 projectname
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.