Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 1.88 KB

Readme.md

File metadata and controls

69 lines (42 loc) · 1.88 KB

Dadda-Soft Simple Blog

Features

  • Create Post
  • Archive Post & Unarchive (Save as Draft)
  • Edit Post
  • add Comment
  • Delete Comment
  • Security (parse html and escape js)
  • Authentication System ( Login Register )

included Libraries

  • Bootstrap
  • SweetAlert

dependencies

Python 3.6+ Check Python Website

mistune (markdown parser) : run pip install mistune

flask : run pip install flask

mysql-connector (driver of mysql) : run pip install mysql-connector

post image directory : Resources/static/posts


Setup The App

  • You should have a mysql-Server installed or install phpmyadmin (Use Xampp That includes all this)
  • Create new Database name it As you like

m

  • After Select the database you created alt click on import click on browse and navigate to the project folder you will find a folder called db inside it there is a SQL file choose it and click go
  • after done go back to the project rename the file .env.Example to .env and change database config

alt

Note : app Secret Should be in Strong Format and not show it to any one (it's used to hash and encrypt passwords and cookies )

Start The Server

open a new Terminal and Navigate To The Project Folder and Run python server.py

  • python Should be installed and included in system path

ENJOY IT

Posts Cards

text

Users Posts

text

follow me

facebook instagram Twitter