- Github Account
- Heroku Account
- VS Code IDE
- Git Cli
Creating conda enviornment ...
conda create -p venv python==3.8 -y ...
conda activate venv/ ....
pip install -r requirements.txt
To add files to git
git add
OR
git add <filename>
Note : To ignore file or folder from git we can write name of file/folder in .gitignore file
To check the git statue
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 the changes/version to github
git push origin main
To check remote URL
git remote -v
To setup CI/CD pipeline in Heroku we need 3 info
- Heroku_Email = Sumitbkec@gmail.com
- Heroku_API_KEY = d25374f2-3dbb-4037-b126-0ad10ca0b0db
- Heroku_App_name = ml-regression-app007
Build Docker Image
docker build -t <image_name>:<tagname> .
Note: Image name for docker must be lowercase
To list docker image
docker images
To run docker image
docker run -p 5000:5000 -e PORT=5000
```
To check running containers in docker
docker ps
To stop docker container
docker stop <container_id>
python setup.py install