Hank-learner / Articletter

A flask-python app for publishing articles in web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Articletter

What is Articletter

A python3-flask app to publish and read articles

Developed in a virtual environment for python3

Deployment

Requirements

  1. python3,pip

  2. flask module(pip install flask)

  3. mysql(sudo apt-get install mysql-server libmysqlclient-dev)(pip install flask-mysqldb)(pip install Flask-WTF)(pip install passlib)

  4. required python libraries

basic structure of database is given in sqlinit.sql file, donot directly run it , see the contents and update mysql password in app.py file

In a python environment(new), requirements.txt contains the packages and modules needed in python venv, just run the command in your environment

source /path/to/venvfolder/bin/activate
pip install -r requirements.txt

use the following command to run the project:

flask run --host=0.0.0.0 --port=12345

Features

Developed with bootstrap4

With login system

Publish articles

Articles can be read by everyone without and account

About project

developed in vs code

default formatter: black(vscode extension: DEPRECATED:Black-Python code formatter)

default tab space = 4space length

About

A flask-python app for publishing articles in web


Languages

Language:Python 49.9%Language:HTML 48.0%Language:CSS 2.0%Language:JavaScript 0.1%