Heroku for Insta scraping flask web-app

DaurEd
1 min readJan 20, 2021

--

You can host Flask apps for free on Heroku.

Check this insta-analytics web-app.

In the previous blog, we learnt to host this app locally. It’s time to publish it on Heroku to make it globally accessible.

Some of the prerequisites are: Git repository & Heroku account.

The new files that would be needed before publishing it on Heroku:

  1. Procfile (Easiest to create it using VS Code)
  2. Requirements.txt (contains all the python modules required by the app)

The files need to be organized as shown here:

You can refer the git repos: Piyush-Kulkarni or Vaani’s git repo here.

Once you create the Procfile in VS code, it looks as shown here:

Steps to deploy on Heroku:

  1. Sign up.
  2. Choose deployment method: Github
  3. Deploy manually

You will have the URL to your web-app, once the deployment is complete.

Writers- Piyush Kulkarni, Vaani Bansal.

--

--

DaurEd
DaurEd

Written by DaurEd

Our objective is to be valued leader in providing quality, affordable instruction in studies via practical training, workshops, & experimental learning.

No responses yet