Heroku is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud. It is generally considered to be easy-to-use. But it’s most beneficial to businesses in specific situations. Heroku has a free service model for small projects, but tiered service packages exist for cases where more complex business needs must be addressed.
In this Repo I implemented Prediction of House price using Linear Regression and deployed to Heroku.
To Review the Implemented Deployment Please visit https://santhosh12.herokuapp.com
NOTE : To generate requirements .txt , go to path in command prompt or Terminal and type pipreqs
Add These in your requirements.txt as these ensure proper deployment in Heroku cloud.
gunicorn==19.9.0
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
Werkzeug==0.15.5
A Procfile is a list of process types in an app.
web: gunicorn server:app
The first app represents the name of the python file that runs your application or the name of the module it is in. The second app represents your app name.
In My repo My python name is app.py and application name is app.
Upload These Files in Git Repo
model.pkl
server.py
requirements.txt
Procfile
templates
Give a name to your app and create
Please Refer the Following Structure
A Link Will be Generated after sucessful Deployment like this https://santhosh12.herokuapp.com
Hope you found it insightful. If you have any queries you can mail me at : [email protected] .I would love to hear feedback from you to improvise it and make it better!