Need to upload python flask api to heroku
There is a script on python api on flask. It needs to be uploaded to heroku and configured to work. I ran the script on my local pc and everything works. I need you to show me how I can later make changes to the script so that they apply on the server, through GitHub or something. Here are the dependencies that are used:
blinker==1.9.0
click==8.1.8
cmake==4.0.0
colorama==0.4.6
dlib @ dlib-19.22.1-cp39-cp39-win_amd64.whl
face-recognition==1.3.0
face-recognition-models==0.3.0
flask==3.1.0
gunicorn
importlib-metadata==8.6.1
itsdangerous==2.2.0
jinja2==3.1.6
MarkupSafe==3.0.2
numpy==1.20.2
opencv-python==4.11.0.86
pillow==11.1.0
werkzeug==3.1.3
zipp==3.21.0
-
834 8 0 You also don't think it would be more appropriate to use VPS hosting for such a script, as they would be significantly better for use than Heroku. Because as I guess from the modules, you are working with face recognition, probably, or something like that.
I wrote down the possible issues.
dlib + face-recognition
Critical: Heroku does not support the installation of dlib from source code without a custom buildpack or container.
These libraries require CMake, Boost, a C++ compiler, as well as access to the system's OpenCV libraries.
… Solution:
Use Heroku with a Docker container, where you will build the image with all dependencies yourself.
Or switch to a VPS/server with full system access.
opencv-python
May not work or work with limitations (especially functions that use access to the camera — Heroku does not have direct hardware access).
Solution: only offline image processing, and even then in Docker.
cmake
Needed only for compiling dlib, but Heroku does not allow installing system packages directly, so it won't work without Docker.
Write to me, I need to discuss the issue. The price may vary depending on the complexity of the solution and needs.
-
336 1 0 Good afternoon, I am ready to help with the deployment on the server, I would like to know more details in private messages.
-
595 2 0 Hello Nikita.
I have done similar work many times before. I have over 6 years of experience in development.
I am ready to offer a good price as I am just starting to develop my account and need ratings and reviews.
I will be happy to help you.
I am ready to answer all your questions.
Sincerely,
Georgiy
… Senior Python Developer
-
1341 23 0 Good day. Write, I will do everything.
------------------------------------------
-
96691 1276 1 10 Hello. I am ready to deploy your project. Besides the backend, what else is there? Database?
-
573 9 0 There is an option to deploy not on Heroku, but also to set up automatic deployment. Write to me.
-
726 9 1 Hello! Your project has sparked great interest in me. I am ready to start working immediately and ensure high-quality execution.
Current freelance projects in the category Python
Creation of a TikTok farm with income generation
601 USD
Looking for a person who can write software for a TikTok farm, so we can generate traffic and earn income. We are seeking a ready-made solution with a full cycle. Python, Bot Development ∙ 1 day 21 hours back ∙ 15 proposals |
AI Commenting Platform for TikTok and Instagram.Project Goal Develop a system that allows managing a large number of TikTok and Instagram accounts and automatically posting relevant comments under selected videos using AI. Main Functionality1. Account Management It is necessary to implement the ability to connect accounts:… AI & Machine Learning, Python ∙ 3 days 4 hours back ∙ 22 proposals |
Build a customer classification model1. There is client data in Mongo/SQL (approximately 20,000 entries with raw data). 2. It is necessary to build features and a classification model of clients into behavioral groups based on this data. 3. The project should be completed in Python. AI & Machine Learning, Python ∙ 4 days 23 hours back ∙ 43 proposals |
IT Automation of VAT Reporting
223 USD
It is necessary to develop a system for automating the transfer of sales data from the CRM to the accounting system Wafeq. The system should import bank and payment reports, automatically reconcile payments with invoices, generate invoices for VAT reporting, and minimize manual… AI & Machine Learning, Python ∙ 5 days 4 hours back ∙ 51 proposals |
Account reconciliation tool with the bank, cards, and accountantTechnical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to… Python, Desktop Apps ∙ 5 days 16 hours back ∙ 43 proposals |