ideablink:链接共享和评论

时间:2021-05-15 07:14:09
【文件属性】:
文件名称:ideablink:链接共享和评论
文件大小:28KB
文件格式:ZIP
更新时间:2021-05-15 07:14:09
Python 想法眨眼 链接共享和评论。 我差不多在两年前就写了大部分内容。 这并不是真正的黄金时段; 但是,它可以作为一种有趣的学习体验。 它使用Python Flask和MySQL。 所有代码对于任何使用,重用和修改都是免费的。 但是,名称“ hashsquid”和“ hashsquid.com”归我所有。 ###要求### Python 2.6以上 MySQL 烧瓶 MySQLdb(用于连接黑白Python和MySQL的模块) ###设置### 在/ DB中运行“创建”脚本,然后运行“更改”脚本。 更新config.py(至少DBPWD) ### Running ###类型 python ideablink.py ###注意事项### 请勿对MySQL数据库用户使用“ root”。 在config.py中更改SECRET_KEY 使用比MD5更强的哈希值作为密码。 注意
【文件预览】:
ideablink-master
----.gitignore(702B)
----README.md(803B)
----config.py(192B)
----db()
--------createTable_users.sql(270B)
--------createTable_main.sql(338B)
--------alterTable_main_AddColumn_favorite.sql(61B)
----static()
--------Thumbs.db(21KB)
--------style.css(517B)
----LICENSE(1KB)
----ideablink.py(6KB)
----templates()
--------user.html(1KB)
--------main.html(583B)
--------base.html(936B)
--------register.html(478B)
--------login.html(506B)
--------about.html(873B)
--------addlink.html(427B)
--------faqs.html(116B)

网友评论