Giter VIP home page Giter VIP logo

discuzx-tools's Introduction

概述

Discuz自动上传附件,发帖,注册用户,留言,顶帖等自动化工具。

安装

1, 安装MySQL.
2, 执行./script/setup.sh.
3, 创建python运行虚拟环境, 在虚拟环境执行: pip install -r requirements/requirement.txt.

介绍

./tools     服务脚本
./web       七牛文件下载代理
./govern    数据管理后台

安全

注意:账户密码信息的存放,建议对Demo默认值的更改,放置在系统的环境变量中。相关配置信息的数据,分类存放在以下配置文件里:

./conf/env_conf.py          # 从环境变量中读取敏感配置信息
./conf/data_config.py       # 数据相关配置信息 (MySQL\Redis\MongoDB)
./conf/store_conf.py        # 存储相关配置信息
./conf/regular_conf.py      # 业务规则配置信息

./scripts/readme.md         # MongoDb可能使用的DBA账户
./govern/govern/settings.py # 管理后台配置信息 (Email\MySQL)

提醒:./conf/data_config.py 里 Redis\MongoDB 账户或密码的更改,请注意与 ./deploy/redis_server.conf 或 ./deploy/mongod.conf 一致。

环境变量设置

.env_example 分两部分

discuzx-tools's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.