Skip to content
Evgeny Rudinsky edited this page Jun 6, 2022 · 1 revision

Welcome to the once-upon-an-app wiki!

Introduction

An once-upon-an-app is a sample application for GitHub experiments.

Folder's structure:

.
├── README.md
├── app
│   ├── Dockerfile
│   ├── app.py
│   └── requirements.txt
└── bicep
    └── main.bicep

How to run

To run application:

cd app
pip install -r requirements.txt
flask run

To run iac (make sure az login`ed) and do:

cd bicep
az group create -g myapp-rg -l westeurope
az deployment group create -g myapp-rg -f main.bicep

Dockerfile is provided. Build image, push to the regisry (the one being build with bicep). Run app on Web App.

Clone this wiki locally