/blog

Blog with flask

Primary LanguageJavaScriptMIT LicenseMIT

Blog with flask

Template&themes

requirements lib install

  • flask
  • flask-admin bootstrap 4 support
  • Flask-SQLAlchemy
  • Flask-Migrate
  • Flask-WTF
  • python-dotenv
  • flask-ckeditor
  • flask_security

Rune

  • creaet .env file inside
       FLASK_ENV=development
       FLASK_APP=manager.py
    
  • $ flask db init
  • $ flask db migrate
  • $ flask db upgrade
  • $ flask users create admin@email.com
  • $ flask users activate admin@email.com
  • $ flask roles create admin
  • $ flask roles add admin@email.com admin
  • $ flask run -p 8000