Skip to content

Latest commit

 

History

History
108 lines (87 loc) · 1.5 KB

README.md

File metadata and controls

108 lines (87 loc) · 1.5 KB

Start Marchine Learning Project

https://implem.herokuapp.com/

Software and Account Requirements

  1. Github Account
  2. Heroku Account
  3. VS Code IDE
  4. GIT cli

Creating conda environment

conda create -p venv python==3.7 -y

Activate conda environment

conda activate venv/

OR

conda activate venv

Install requirements

pip install -r requirements.txt

To add file to git

git add <filename>

OR

git add .
Note: To ignore file or folder from git we can write the name of the file/folder in .gitignore folder

To check status

git status

To check all versions 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

Deployment

To setup CI/CD pipeline in heroku we need 3 information

HEROKU_EMAIL = [email protected]
HEROKU_API_KEY = <>
HEROKU_APP_NAME = implem

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


To stop docker conatiner

docker stop <container_id>



To install ipykernel

install ipykernel