waydk / flask_blog

My portfolio project. Written in python using Flask for the backend and Bootstrap for the frontend

Home Page:https://waydk-blog.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My portfolio project

A simple blog written in python, using flask as the backend, bootstrap as the frontend, and postgres as the database

waydk blog

How to add articles to the website

image

image

Development

System dependencies

  • Python 3.8.10
  • Flask-SQLAlchemy 2.5.1
  • environs 9.3.4
  • Flask-Admin 1.5.8
  • Flask-BasicAuth 0.2.0
  • psycopg-binary 3.0.1

Setup environment

  • Rename .env.dist to .env

  • Fill in your data

  • SECRET_KEY is needed to secure sessions on the client side

  • PG_HOST is responsible for where your database is located

  • PG_USER and PG_PASSWORD are needed to access the database

  • DATABASE database name

  • BASIC_AUTH_USERNAME and BASIC_AUTH_PASSWORD - to access the admin panel

Launch

  • git clone https://github.com/waydk/flask_blog
  • cd flask_blog
  • If you don't have poetry pip install poetry
  • Install dependencies: poetry install
  • Activate the virtual environment poetry shell
  • Launching an application python3 wsgi.py

About

My portfolio project. Written in python using Flask for the backend and Bootstrap for the frontend

https://waydk-blog.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 38.2%Language:CSS 24.5%Language:HTML 22.2%Language:Python 15.1%