---
title: "Discussion on \"Build and deploy a USSD application with Africa's Talking, Docker and Heroku [Python] - Part 2\" | Hashnode"
description: "Discussion on \"Build and deploy a USSD application with Africa's Talking, Docker and Heroku [Python] - Part 2\". Time to deploy 🚀\nWelcome back! We just built an entire USSD application in the previous tutorial but we hadn't made it available over the open internet for it to access Africa's Talking services. Over the next few minutes we will:\n\nDeploy our applic..."
url: "https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Build and deploy a USSD application with Africa's Talking, Docker and Heroku \[Python\] - Part 2](https://anthonylimo.hashnode.dev/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2?utm_source=hashnode&utm_medium=feed)

Time to deploy 🚀 Welcome back! We just built an entire USSD application in the previous tutorial but we hadn't made it available over the open internet for it to access Africa's Talking services. Over the next few minutes we will: Deploy our applic...

Sep 7, 2019 · anthonylimo.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#python3](https://hashnode.com/tag/python3)
-   [#flask-cje4g3tgk00wdm0wtaepqxd29](https://hashnode.com/tag/flask-cje4g3tgk00wdm0wtaepqxd29)

## Written by

[Anthony Kiplimo](https://hashnode.com/@anthonylimo)

@anthonylimo · Nairobi, Kenya

  
[View profile](https://hashnode.com/@anthonylimo)

Developer Experience @ Africa’s Talking/Elarian

I am a developer, developer relations expert and a user experience designer at Africa's Talking and Elarian. I believe that the next wave of wealth for Africa will be unlocked through the digital economy.

## Responses 6

Markdown supported · ⌘↵ to post

[Kipkirui Koech](https://hashnode.com/@koech88)

[Oct 23, 2022](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/63551cdbf1b7b0d892359579)

This is great Anthony, can we contribute to one using django and can allow payment using mpesa?

[MICHAEL MUVATSI](https://hashnode.com/@MichaelMuvatsi)

[Oct 11, 2022](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/6344ec066d64be07a724b7e4)

Hi !

Please I would like to know how we can retrieve an entered value and perform some processing on it.

For example, the user enters a password, the system needs to check whether the password is correct or not.

Please help me it's urgent

[benitoh ngige](https://hashnode.com/@mzeebenjamin)

[Feb 18, 2021](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/602e7b5dbfecab23c35248aa)

How do i solve this: **ModuleNotFoundError: No module named 'africastalking'**

[Samuel Otieno](https://hashnode.com/@OtienoS)

[Mar 4, 2021](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/602e7b5dbfecab23c35248aa#reply-6040e3fa6a43af22af9d1bd5)

Run the following command on your terminal: pip3 install africastalking Make sure you add it to your requirements.txt file by running the command: pip freeze> requirements.txt

[Phill Mure](https://hashnode.com/@Phil1)

[Nov 16, 2020](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/5fb2b3af595a24599b2f27be)

Hi Anthony, thank you so much for this excellent tutorial.

I'm stuck with building an image from a Dockerfile. Please, help me on how to go about this.

Advise also where the Dockerfile should be and if it should be in the virtual environment as well. Help me also understand if the the app.py and the requirements.txt also should be in the virtual environment.

Looking forward to your support.

[MAZAKPE](https://hashnode.com/@popo)

[Sep 16, 2019](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/5d7ff637f03602bf4816f7d6)

It is my first time creating a flask app and deploying a docker container to Heroku. This article explains it nicely, thank you. I got this error (no basic auth credentials ▸ Error: docker push exited with Error: 1)

this helped me solve it [github.com/fiorix/freegeoip/issues/171](https://github.com/fiorix/freegeoip/issues/171#issuecomment-4640461)

[Anthony Kiplimo](https://hashnode.com/@anthonylimo)

[Sep 18, 2019](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/5d7ff637f03602bf4816f7d6#reply-5d81d27aa399900f0e63bdca)

Oh yeah, you have to login to Heroku. I'll update the article accordingly. Thanks!

[Anthony Kiplimo](https://hashnode.com/@anthonylimo)

[Sep 7, 2019](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/5d740c30b472952327fd99bc)

If you find any issues, don't mind raising them in the comments. Would love to make this article as accurate as possible. :)

[Khalifa Khalid](https://hashnode.com/@slimkhali)

[Jul 2, 2021](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/5d740c30b472952327fd99bc#reply-60deffed4f8e376422a75533)

HI i am a student am doing ma final year project i deployed my ussd app but it stucks at the first level doesent continue any help please

[Anthony Kiplimo](https://hashnode.com/@anthonylimo)

[Jul 7, 2021](https://hashnode.com/posts/build-and-deploy-a-ussd-application-with-africas-talking-docker-and-heroku-python-part-2/5d7404dcb472952327fd99b6/comment/5d740c30b472952327fd99bc#reply-60e5d2dff9165b14d105ff71)

Hi [Khalifa Khalid](https://hashnode.com/@slimkhali) could you share a GitHub repo with your code? I'd be happy to take a look at your code
