A Django web app for summarizing the text, developed using NLP algorithms, Django and deployed using Dockers on Heroku. Text Ranking Algorithm and cosine similarity was used to summarize the text. Python version 3.6 was used for this project. All the requirements to run the project can be found at requirements.txt.
You can find the webapp live at: https://kvg-text-summarizer.herokuapp.com/
Step-1 Download all the files from the repository.
Step-2 Open command prompt and run the following command to install all the dependencies.
pip install -r requirements.txtStep-3 After successfull installation of all the dependencies, in the command prompt, get into the directory containing manage.py file and run the following command.
python manage.py runserverThat's it you can see your website running at localhost.
Step-1 Download the docker desktop based on you windows version from the official website of Dockers.
Step-2 Create your docker account at hub.docker.com
Step-3 Make sure that you have downloaded the Dockerfile and docker-compose.yml files and open the command prompt in that directory.
Step-4 Run these following commands in the command prompt:
docker-compose up --buildThat's it you can see your website running at localhost.
Step-1 Download the Heroku CLI and Docker desktop based on you windows version from the official website of Dockers.
Step-2 Create your heroku account at www.heroku.com and docker account at hub.docker.com
Step-3 Make sure that you have downloaded the Dockerfile and docker-compose.yml files and open the command prompt in that directory.
Step-4 Run these following commands in the command prompt:
Login to your docker account.
docker loginBuilding the Image.
docker build -t enter_any_tag_name .Log in to your Heroku account.
heroku loginLogin to your Heroku container.
heroku container:loginCreating a app in Heroku.
heroku create enter_app_nameTag the heroku web app with docker.
docker tag previously_entered_tagname registry.heroku.com/previously_created_app_name/webPushing all files into Heroku.
docker push registry.heroku.com/previously_created_app_name/webReleasing the web application.
heroku container:release web --app previously_created_app_nameThat's it you can see your website running at your_app_name.herokuapp.com.
Please do ⭐ the Repository if you liked my work.




