- Update
config.yaml
- Update
secrets.yaml
(Optional) - Update
params.yaml
- Update the entity
- Update the configuration manager in
src/config
- Update the components
- Update the pipeline
- Update
main.py
- Update
dvc.yaml
- Clone the repository
- Create a conda environment after opening the repository
conda create -n cnncls python=3.8 -y conda activate cnncls
- Install the requirements
pip install -r requirements.txt
- Run the following command
python app.py
- Open up your localhost and port
dvc init
dvc repro
dvc dag
- Login to AWS console.
- Create IAM user for deployment
- Create ECR repo to store/save docker image
- Create EC2 machine (Ubuntu)
- Install Docker in EC2 Machine
- Configure EC2 as self-hosted runner
- Setup GitHub secrets
- Save pass
- Run from terminal: Docker build, login, and push
- Deployment Steps
These instructions provide a comprehensive guide on how to set up, run, and deploy your project using various services and tools. If you have any specific questions or need further assistance with any of the steps, feel free to ask!