24 Star 119 Fork 0

biancangming / bianbingdang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

bianbingdang :triangular_flag_on_post:

开发的初衷源于交流学习,来这里看看,也可顺便加我的微信,交个朋友

项目介绍

变饼档1.x - 2.0正在进行开发者,当前项目未打包发布,请各位不要部署到生产服务器。

2.0解决的主要问题:

  1. 不得不说SEO对小站长来说还是挺重要的。站点标题、描述、关键字、站点底部文字等可配置地方抽离

  2. 后台修正,后台采用django-simpleui的支持,但还不够用灵活,许多页面不是单纯的增、删、改。例如文章, 多用户只需要前台的编辑。后台只需要简单的文章列表,监控,无需编辑

  3. 编辑器的整改,编辑器和之前一样采用markdown、普通文本编辑器结合的模式。但之前页面加载大量的Js且不够美观。 感谢优秀编辑器simplemde-markdown-editor以及tinymce。本次将考虑使用这两个编辑器

  4. 前台大量的无用js、ajax计划用django form替换,以便于更好的适应搜索引擎

  5. 更多问题征集中,欢迎提意见

变饼档是一款由Django + vue.js + layui开发的博客,具体源码托放在gitee上。开发的初衷源于python学习者的诉求,可以将源码下载下来进行学习。官网上有pycharm部署的文档,也可以在PC端访问在线的dome。感兴趣的朋友也可部署在服务器上,用于个人日常的记录

演示站点

http://www.bianbingdang.com

输入图片说明

centos一键部署脚本

copy打包文件 deploy/install_bbd.py 到你的服务,执行 python install_bbd.py一键部署

软件架构

基于Django2.0.7 和 layui

Pycharm下部署教程

http://www.bianbingdang.com/article_detail/149.html

网站更新过程可能发生变化,根据实际状况处理

安装教程

git clone https://gitee.com/bsxbl/bianbingdang.git 下载项目到本地

安装依赖包 pip install -r requestments.txt

初始化数据库

python manage.py makemigrations
python manage.py migrate
收集静态文件
python manange.py collectstatic
python manage.py compress
创建超级用户
python manage.py createsuperuser

运行 : python manage.py runserver

使用说明

安装新包需要执行pip freeze --local >requestments.txt收集使用包 生产环境部署参考:uwsgi+nginx部署说明

依赖开源技术列表

Django v2.0.7

simple ui 2.0

bootstrap v4

Jquery v3.1

vue.js

layui2.4.3 @https://www.layui.com/

layedit @https://gitee.com/KnifeZ/Kz.layedit/issues

MIT License Copyright (c) 2019 biancangming Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

变饼档博客系统,基于Django v2.0.7 + Python3.6 + VUE2.0 展开 收起
Python 等 4 种语言
MIT
取消

发行版 (2)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/bsxbl/bianbingdang.git
git@gitee.com:bsxbl/bianbingdang.git
bsxbl
bianbingdang
bianbingdang
master

搜索帮助