独立开发的基于Django的贴吧云签到云回网站
作者维护的地址:http://sign.heeeepin.com/
Linux / macOS
MySQL / MariaDB
Windows暂不兼容(无法执行Cron)
本地安装演示视频
https://www.bilibili.com/video/av55931920/
参考 https://www.centos.bz/2018/07/centoslinux-%E4%B8%8Bmysql8-0-11%E7%9A%84%E5%AE%89%E8%A3%85/
sudo service mysql start
或
sudo systemctl enable mysql && sudo systemctl start mysql
授予权限(本地安装用)
mysql -u root -p
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
mysql> flush privileges;
创建tieba数据库
mysql> CREATE DATABASE tieba;
克隆代码(或手动下载)
git clone https://github.com/ghosx/TiebaProject.git
修改settings.py
中的数据库配置
cd TiebaProject
pip3 install -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py data
python3 manage.py crontab add
python3 manage.py runserver 0.0.0.0:8000
执行完上述命令后访问 http://127.0.0.1:8000/ 即可
nohup python3 manage.py runserver 0.0.0.0:8000 &
求 Star 求 Follow
qq群: 818794879