Skip to content

Fully functional web-app hosted on a Ubuntu 18.04 VM with Nginx and Gunicorn. The blog features an NLP module that summarizes long text into three key sentences.

Notifications You must be signed in to change notification settings

edubu2/flask-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elliot's Website

Note as of Aug 2022, the website is no longer live but can be easily reproduced using the below steps.

Big thank you to Corey Schafer for his YouTube Flask Tutorial (link), which helped me get started with this web app.

My website now contains a text summarizer that uses NLP (Natural Language Processing) to rank sentences from a piece of long text. The top 3 sentences are returned. Users can use this application to quickly understand long articles or emails without having to read the whole thing! For more information about how this works, checkout my NLP-Summarize repository.

Steps to Run Locally

  • Fork this repository to your computer
  • Install necessary Python libraries with pip3 install -r requirements.txt in your virtual environment
  • create /etc/config.json file to store sensitive information (required for database URI)
    • see config.py for keys to set up
    • email configuration only required for resetting forgotten passwords
    • on Windows machines, place this file anywhere (outside the repository) and change the filename in config.py to the new location
  • Execute run.py script from terminal
  • Open the app in your browser using the IP address in terminal's stdout

Tech Stack

  • Flask for application framework/jinja2 templating
  • Bootstrap for front-end HTML, CSS & JS
  • SQLAlchemy ORM for SQLite database
  • BCrypt Password Hashing
  • Web serving with Nginx and Gunicorn on a Linode VM running Ubuntu 18.04

About

Fully functional web-app hosted on a Ubuntu 18.04 VM with Nginx and Gunicorn. The blog features an NLP module that summarizes long text into three key sentences.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages