Sample for Hello World web app.
- Fork the repositoy
Please refer to the Choreo documentation under the Develop an Application with Buildpacks to learn how to deploy the application.
-
Select
Web Application
Card from Component Creation Wizard -
Select
Go
as the buildpack. Fill as follow according to selected Buildpack.Field Description Name Hello World WebApp Description Hello World WebApp GitHub Account Your account GitHub Repository choreo-samples Branch main
Buildpack Go Select Go Project Directory hello-world-go-webapp Language Version 1.x Port 8080 -
Click Create. Once the component creation is complete, you will see the component overview page.
-
Deploy the created component
Navigate to the Go application directory
cd hello-world-go-webapp
Run the service
go run main.go