Thanks to things like cloud services and continuous deployment tools, it’s become easier than ever to build small web apps using CI/CD workflows. In this tutorial, I’ll show you how to use Azure, GitHub and Python to build a very simple web app which auto-refreshes every time you update your code. All you need for this is a free GitHub account and a free Microsoft Azure account . Creating our code Once you’ve signed up, go to GitHub and create a new repository with any name you want. In it, create two new files: requirements.txt Flask==1.0.2 index.py from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" You can make these files directly in your web browser, or you can use a git client to clone the repository and create the files. Your git repository should look like this: Creating our app service Log into the Azure web portal and click on App Services and then Add . Here, create a new app s
Posts about technology, DevOps, the cloud and more.