A python3-flask app to publish and read articles
Developed in a virtual environment for python3
-
python3,pip
-
flask module(pip install flask)
-
mysql(sudo apt-get install mysql-server libmysqlclient-dev)(pip install flask-mysqldb)(pip install Flask-WTF)(pip install passlib)
-
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
Developed with bootstrap4
With login system
Publish articles
Articles can be read by everyone without and account
developed in vs code
default formatter: black(vscode extension: DEPRECATED:Black-Python code formatter)
default tab space = 4space length