Git Product home page Git Product logo

dyavadi8769 / simpleflaskapp-deployed-on-heroku Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13 KB

SimpleFlaskApp is a minimalistic Flask application designed to showcase the basic setup and deployment of a Python web application using Flask and Docker. The application serves a simple greeting and is designed to demonstrate the essential components of a web application, including routing and application deployment on Heroku.

License: Apache License 2.0

Python 58.40% Dockerfile 41.60%
docker flask-application heroku-deployment

simpleflaskapp-deployed-on-heroku's Introduction

First download the git cli

Application url: HSimpleFlaskApp

To Start Machine Learning project follow the below steps.

Software and account Requirement.

  1. [Github Account]
  2. [Heroku Account]
  3. [VS Code IDE]
  4. [GIT cli]
  5. [GIT Documentation]
  6. [IpynKernel]
  7. [Anaconda]
  8. [Docker]

Create conda virtual environment

conda create -p venv python==3.11.5 -y
conda activate venv/

Install the necessary packages and libraries

pip install -r requirements.txt

Adding files to git

git add .

OR

git add <file_name>

To check the git status

git status

To check all version maintained by git

git log

To create version/commit all changes by git

git commit -m "message"

To send version/changes to github

git push origin main

To check remote url

git remote -v

To setup CI/CD pipeline in heroku the following 3 information is needed

  1. HEROKU_EMAIL
  2. HEROKU_API_KEY
  3. HEROKU_APP_NAME

BUILD DOCKER IMAGE

docker build -t <image_name>:<tagname> .

Note: Image name for docker must be lowercase

To list docker image

docker images

Run docker image

docker run -p 5000:5000 -e PORT=5000 f8c749e73678

To check running container in docker

docker ps

Tos stop docker conatiner

docker stop <container_id>
python setup.py install

Install ipykernel

pip install ipykernel

Data Drift: When your datset stats gets change we call it as data drift

simpleflaskapp-deployed-on-heroku's People

Contributors

dyavadi8769 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.