Skip to content

Personal blog website built with Flask. Features - Authentication, Admin Login

Notifications You must be signed in to change notification settings

sahil-sagwekar2652/Personal-blog-website

Repository files navigation

Personal blog website 👨‍💻

  • A blog website made using Flask, HTML, CSS and Bootstrap with PostgreSQL database and NGINX web-server and deployed using Docker on AWS EC2.
  • Designed using micro-services pattern, implemented CICD for seamless updates.

flask_blog_cicd

Badges 🏷

My Skills

Features

  1. Self-hosted on AWS EC2.
  2. Micro-Services architecture using Docker containers.
  3. Setup HTTPS using Let's Encrypt.
  4. Implemented CICD using GitHub Actions.

Environment Variables 🔐

To run this project, you will need to add the following environment variables to your virtual environment

SECRET_KEY - Flask app secret key

Deployment 🌏

Clone the repository on your terminal and run the following commands.
Requirements: You must have Python 🐍 installed.

Windows Terminal

Creating a virtual environment

  • if virtualenv is not already installed, run the following command or else skip to the next one
    > pip install virtualenv 
  • create and activate a new venv inside the project directory
    > virtualenv myenv
    > myenv\Scipts\activate

Deploying on LocalHost

    > python main.py
  • Copy and paste the localhost link in your browser to view the project.