- 🛠️ Update
config.yaml
for project configurations. - ⚙️ Update
params.yaml
with necessary parameters. - 📖 Update entity details.
- 📂 Update the configuration manager in the
src
config folder. - 🧩 Update the components.
- 🔄 Update the pipeline.
- 🚀 Update the
main.py
for project execution. - 📲 Update the
app.py
for user interface.
👯♂️ Clone the repository
https://github.com/saibattula93/Text-summarization-project
📦 Create a conda environment after opening the repository
conda create -n summary python=3.8 -y
conda activate summary
🛠 Install the requirements
pip install -r requirements.txt
🚀 Finally, run the following command
python app.py
🌐 Now, open up your local host and port
# With specific access
1. EC2 access: Virtual machine management.
2. ECR: Elastic Container Registry to save your Docker images in AWS.
# Description: About the deployment 🚀
1. Build Docker image of the source code.
2. Push your Docker image to ECR.
3. Launch Your EC2.
4. Pull Your image from ECR in EC2.
5. Launch your Docker image in EC2.
# Policy:
1. AmazonEC2ContainerRegistryFullAccess
2. AmazonEC2FullAccess
- Save the URI: 566373416292.dkr.ecr.us-east-1.amazonaws.com/text-s
# Optional
sudo apt-get update -y
sudo apt-get upgrade
# Required
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker ubuntu
newgrp docker
Setting > Actions > Runner > New Self-hosted Runner > Choose OS > Then run the command one by one
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION = us-east-1
AWS_ECR_LOGIN_URI = demo >> 566373416292.dkr.ecr.ap-south-1.amazonaws.com
ECR_REPOSITORY_NAME = simple-app 📦