Skip to content
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.
/ ShareRoom Public archive

一个交换分享书籍,电影以及各类资源的平台

Notifications You must be signed in to change notification settings

xiecang/ShareRoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShareRoom

一个交换分享书籍,电影以及各类资源的平台

使用方法

  • 安装环境

    pip install pipenv
    cd ShareRoom
    pipenv install
    pipenv shell
  • 配置 secure.py

    cd ./app
    nano secure.py

    配置项如下

    DEBUG = True
    
    # 数据库配置
    SQLALCHEMY_DATABASE_URI = "mysql+cymysql://root:password@127.0.0.1:3306/database?charset=utf8"
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SECRET_KEY = ""
    
    # Email 配置
    MAIL_SERVER = 'smtp.qq.com'
    MAIL_PORT = 465
    MAIL_USE_SSL = True
    MAIL_USE_TSL = False
    MAIL_USERNAME = 'username@test.com'
    MAIL_PASSWORD = 'password'
    MAIL_SUBJECT_PREFIX = '[Codes-Room]'
    MAIL_SENDER = 'name <support@codes-room.com>'
  • 运行 share.py

    (此时应该在pipenv shell中)

    cd ../
    pyhon3 share.py

运行截图

About

一个交换分享书籍,电影以及各类资源的平台

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published