Develop Your Project
Create a simple "Hello world!" HTML file and use NGINX Open Source to serve it to the Web.
In
.flinkwerk/config.yaml, add the following lines to create your project on top of NGINX. In this example, NGINX is provisioned through the Bitnami NGINX Helm chart:.flinkwerk/config.ymlfrom:
type: helm
sku: bitnami/nginx
repository: "https://charts.bitnami.com/nginx"This configuration enables Flinkwerk to later automatically deliver your HTML file within the NGINX instance deployed by the open-source Helm Chart.
Add the following
Dockerfilein your project root:DockerfileFROM bitnami/nginx
COPY app /appDevelop and add your custom code to the new
app/folder in your project root. Simply create a folder namedappand then add a file calledindex.htmlin this folder containing this content:app/index.html<h1>Hello world!</h1>Add and commit this file to your local project Git repository, which the previous
flinkwerk initcommand automatically created for you, with this command:git commit -am "Flinkwerk quickstart"
tip
By the way, there are over 6,000 other charts available for free at Artifacthub, all of which you can use as described above.