数据库的配置在哪里填写呢?
git-zjx opened this issue · comments
赵大宝 commented
数据库的配置在哪里填写呢?
YuKun commented
config.py
配置文件的SQLALCHEMY_DATABASE_URI
变量,默认是sqlite
,如果配置mysql
可以将变量设为mysql+pymysql://root:password@localhost:3306/db
zhangchangrui commented
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/usr/local/bin/python3.6'.
失败
赵大宝 commented
@zhangchangrui pip和python版本不对应??
YuKun commented
项目已经很久没有更新了,如果运行失败可以检测是否是网站的爬虫无效。demo 站点由于是免费平台,数据库用完了,所以会报500错误。如果可能,后续会更新项目的
赵大宝 commented
@Blackyukun 后续可以带我一个不?
赵大宝 commented
@Blackyukun 好,那我就静等消息了
dkvirus commented
@Blackyukun 这个项目不错的,继续搞啊。目前首页提供的网站访问已经 500 了。