Giter Club home page Giter Club logo

sheep's Introduction

Sheep 博客提问系统

django+nuxt-vue+channels 实时在线聊天博客提问系统
    这是新开的一个开源项目,欢迎有兴趣加入的人可以通过下面我的联系方式联系本人,sheep 项目主要功能是发表博客,实时在线聊天,对感兴趣的博客进行收藏点赞,对喜欢的人进行关注.
    特点是如果一篇博客踩的数量太多,系统会自动删除,保证了博客都是及时有效的,让无用文章消失在大众眼前
    搜索系统本想有 elasticSearch 来做,可是远端云服务器费用昂贵,之后有条件,全局搜索可以上 elasticSearch 来做


项目进度

已完成:

  • 全站改为ssr
  • 登录注册
  • 发表文章(支持富文本+markdown)
  • 个人资料修改
  • 七牛云存储上传文件/图片
  • 编辑文章
  • 删除文章
  • 我的文章
  • 我的提问
  • 提交反馈
  • 历史反馈
  • 我的收藏
  • 搜索系统
  • 我的浏览
  • 点赞系统
  • 回复系统
  • 好友关注系统

未完成:

  • 文章详情

项目建议/加入

有什么更好的建议或者发现什么 bug,遇到部署问题可以联系我
同时欢迎对项目有兴趣的程序猿共同创造,最好要会 vue 或者 django.
项目详细需求文档在同目录下的prd.md中
个人 qq:907031027


项目展示

项目地址(仅部分完成,持续更新中):


前端技术使用

- nuxt
- koa
- vue
- vuex
- tinymce
- mavon-editor
- cookie-universal-nuxt
- cookieparser
- element-ui
- VueParticles
- nuxtjs/router
- vue-cli3
- axios
- nprogres
- crypto-js
- vue-infinite-scroll
- qiniu-js
- vue-star
- ant-design-vue

后端技术使用

- django
- django restframe work
- django-channels
- celery
- django-mptt
- django-debug-toolbar
- daphne
- concurrent-log-handler
- django-filter
- cryptography
- qiniu

关系型数据库选型


非关系型数据库选型


node版本


项目运行

celery部分:

# 以下操作均在sheep目录下进行

# 启动flower,basic_auth是用户认证
celery flower -A sheep.celery --config flowerconfig --basic_auth=cy:123456

# linux|macos:
celery -B -A sheep.celery worker -l info

# windows:
# 定时任务:
celery -A sheep.celery beat
# 新打开cmd窗口,异步任务
celery -A sheep.celery worker -l info --pool=eventlet

后台部分:

cd sheep

# 安装django依赖
pip3 install -r requirements.txt

# 执行迁移文件
python manage.py migrate

# 测试环境运行
python manage.py runserver
# 线上环境运行
daphne sheep.asgi:application

# 有什么自定义覆盖的配置在settings.py文件旁新建local_setting.py文件进行重新变量定义就ok
# settings.py同级目录下有local_setting_example.py文件作为样板,本地配置参考这里

前端部分:

# 开发环境:
cd sheep-nuxt
npm install
npm run dev

# 正式环境:
cd sheep-nuxt
npm install
npm run build
npm run start 或者使用pm2启动 pm2 start ecosystem.config.js

sheep's People

Contributors

primarycy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.