Flask-Blog-with-Login
Flask-Blog-with-Login is a python web app that lets you create a blog with login and sign up.
Authentication options
- User register / login / logout / cancel account
Deployment
Download
git clone https://github.com/srichakradhar/Flask-Blog-with-Login.git
cd Flask-Blog-with-Login
Deploy virtual environment.
virtualenv venv
source ./venv/bin/activiate
Install requirements
# install python requirements
python3 -m pip install -r requirements.txt
Deploy database
# python3
from app import db, create_app
db.create_all(app=create_app())
On a development server
# run
python3 ./app.py
On a production server
Learn how to deploy flask app on ubuntu vps Learn how to deploy flask app on raspberrypi
Terminate virtualenv (if you want)
deactivate
Install virtualenv
# Use pip3
pip3 install virtualenv
# Use apt-get
sudo apt-get install virtualenv
Install pip3
# Use apt-get
sudo apt-get install python3-pip
# Use brew
brew install python3