Skip to content

This repository is a public example for deploying an application to Azure

License

Notifications You must be signed in to change notification settings

sunilbanare16/build-test-and-deploy-to-azure

 
 

Repository files navigation

DevOps - Build, Test and Deploy to Azure

A web application written in Go using the Fiber/v2 routing module

This is a template repository


NOTE: This repository build status will continue to fail as it is an example repository specifically for the blog article mentioned below. This will not affect you if you fork it and set up the pipeline secrets correctly.

The accompanying article for this repository can be found here

Quickstart to run the project locally

Prerequisites

  • Go 1.16 or higher
  • Docker or Podman
  • A GitHub account
  • An Azure account

Steps

  • Clone this repository
  • Navigate into the project root directory
  • Run the command go run main.go to test the application runs

Local Dockerfile build

  • Ensure podman or Docker are running on your local machine
  • Using either of the tools, run the commands shown below:
$ docker build --platform <your-platform> --tag docker.io/devops-container:v1 .
$ docker run -dt -p 3000:3000/tcp docker.io/library/devops-container:v1

In a browser, navigate to localhost:3000

About

This repository is a public example for deploying an application to Azure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Handlebars 65.1%
  • Go 28.0%
  • Dockerfile 6.9%