5 Easy Steps to Get Past the Gatekeeper

Getting past the gatekeeper is never easy. You call and call but your prospect is always “in a meeting” or “on the phone” with no hope of ever getting them on the phone. If this sounds like a…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Deploying Dash to Azure without using Docker

This post is the fourth post concerning Dash and the second post about deploying to Azure App Service. My previous Azure post has been popular, and I thought I was doing a disservice to Azure by using a container to deploy a Python application. Let’s get started by building our example application which, if you have read the other posts, will look super familiar.

As with any Python project, let’s create a virtual environment for our dash app. This tutorial will assume you are working on Ubuntu.

Now let us activate this virtual environment before we continue.

Now let’s create a folder and the initial files that we will need.

Now let’s make the single file that is necessary to get a basic Dash app up and running.

That is it! We will only need these two files to get it working.

Now we need to install our dependencies.

Now that those are installed let’s create our requirements.txt file.

If you are running pip freeze on Ubuntu, your requirements.txt may end up with a package that will cause errors. Please search for pkg-resources==0.0.0 and remove it from your requirements.txt.

Now I am not going to be original here, and we are going to use the example application found in the Dash tutorial, with some slight modifications to the message.

Save your changes and let’s run it and see what we built. Run using the following command.

Let’s deploy our dash app using the Azure CLI. First, we need to login to Azure.

Now we need to navigate to the URL above to see our app running.

I hope you found this helpful and informative. As always, don’t hesitate to reach out to me on social media or Github.

Thanks for reading,

Add a comment

Related posts:

The Competitive Downfall and The Importance of People

As this is my first article i figure i should tell you a little bit about myself, because, why should you waste your precious time reading something from me when there are far more recognised authors…

What Are Great Resources For New Entrepreneurs?

When first beginning a career as an entrepreneur, it can be intimidating figuring out the path that you want to take, as well as determining the best way to begin. As a result of the unique approach…

Introduction

How do computer vision techniques work in an industry setting? How does an organization use data engineering to scale up its operations? These are questions every aspiring data scientist must be…