Skip to content

mishraatharva/End-to-End-Book-Recommender-System

Repository files navigation

End-to-End-Book-Recommender-System

Workflow

  • config.yaml
  • entity
  • config/configuration.py
  • components
  • pipeline
  • main.py
  • app.py

How to run?

STEPS:

Clone the repository

https://github.com/entbappy/End-to-End-Book-Recommender-System.git

STEP 01- Create a conda environment after opening the repository

conda create -n books python=3.7.10 -y
conda activate books

STEP 02- install the requirements

pip install -r requirements.txt

Now run,

streamlit run app.py

Streamlit app Docker Image Deployment

1. Login with your AWS console and launch an EC2 instance

2. Run the following commands

Note: Do the port mapping to this port:- 8501

sudo apt-get update -y

sudo apt-get upgrade

#Install Docker

curl -fsSL https://get.docker.com -o get-docker.sh

sudo sh get-docker.sh

sudo usermod -aG docker ubuntu

newgrp docker
git clone "your-project"
docker build -t entbappy/stapp:latest . 
docker images -a  
docker run -d -p 8501:8501 entbappy/stapp 
docker ps  
docker stop container_id
docker rm $(docker ps -a -q)
docker login 
docker push entbappy/stapp:latest 
docker rmi entbappy/stapp:latest
docker pull entbappy/stapp

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published