A very basic blog written in python and flask.
The initial base was app created by following the excellent tutorial written by Abdelhadi Dyouri here
- Create the initial project folder
cd /projects/
mkdir flask_blog
cd flask_blog
- Create a new python virtual environment & activate it
python -m venv venv
source venv/bin/activate
- Install required python libraries
pip install flask
- Clone the flask_blog repo
git clone https://github.com/alittlebroken/flask_blog.git
- Create the sqlite3 database
python init_db.py
- Run the flask app
export FLASK_APP=app.py
export FLASK_ENV=development
flask run
- Copy and paste the URL provided into your favourite browsers address bar