- Install a virtualenv if not already installed
python3 -m pip install --user virtualenv- Create a virtual environment
virtualenv env- Activate environment
source env/bin/activatepip install -r requirements.txtexport FLASK_APP=app
export FLASK_ENV=development- Run the following command to initialize the database
python init_db.py- The following command will run development server on
http://127.0.0.1:5000
flask run- You can use the following urls to view, create, edit or delete blogs