yokonsan / dingdian

Python爬虫和Flask实现小说网站

Home Page:http://dingdian.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

数据库的配置在哪里填写呢?

git-zjx opened this issue · comments

数据库的配置在哪里填写呢?

commented

config.py配置文件的SQLALCHEMY_DATABASE_URI变量,默认是sqlite,如果配置mysql可以将变量设为mysql+pymysql://root:password@localhost:3306/db

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'.
失败

@zhangchangrui pip和python版本不对应??

commented

项目已经很久没有更新了,如果运行失败可以检测是否是网站的爬虫无效。demo 站点由于是免费平台,数据库用完了,所以会报500错误。如果可能,后续会更新项目的

@Blackyukun 后续可以带我一个不?

commented

@git-zjx 可以啊,这项目代码现在看着好尴尬,准备重构QAQ~

@Blackyukun 好,那我就静等消息了

@Blackyukun 这个项目不错的,继续搞啊。目前首页提供的网站访问已经 500 了。