Skip to content

hecz12/blog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blog

You need to add an environment variable file in root directory named .env.In general,it should contain following items.

#!/bin/sh

SECRET_KEY = 'difficult to guess secrect'

BLOG_ADMIN = '[email protected]'

BLOG_MAIL_SENDER = 'BLOG manager [email protected]'

MAIL_USERNAME = '[email protected]'

MAIL_PASSWORD = 'yourpassword'

DEV_SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://username:password@IP:port/dev_blog?charset=utf8'

TEST_SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://username:password@IP:port/test_blog?charset=utf8'

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://username:password@IP:port/blog?charset=utf8'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.4%
  • HTML 26.3%
  • CSS 4.3%