Skip to content

firgk/simple_zone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_zone

轻量的个人空间网站,类似朋友圈或qq空间,使用 python 和 flask

展示

alt text alt text alt text alt text

使用

git clone https://github.com/firgk/simple_zone.git

修改 app.py 中的 加密密钥 和 账号密码

app.config['SECRET_KEY'] = 'mjqqsssaaawwwkwwwss' # 加密密钥,随便写一个数字串
email = 'firgk' # 账号
password = 'yourpassword' # 密码
app.config['REQUIRE_LOGIN_TO_VIEW'] = True  # 需要登录才能查看内容
app.config['REQUIRE_LOGIN_TO_VIEW'] = False # 不需要登录才能查看内容

修改 login.py 中的 默认填充

<input type="text" class="form-control" name="email"  value="你可以修改默认填充"  required >

pip install -r requestments

python app.py

注意

外网访问需要修改app.py

app.run(host="0.0.0.0",debug=True,port=2333)

其他

reference from https://github.com/chirag1981/simple_blog

About

轻量的个人空间网站,类似朋友圈或qq空间,使用 python 和 flask

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors