Code Monkey home page Code Monkey logo

bbk-server's Introduction

bbk-server

该系统分为三个部分:

  1. 一个 web 服务器
  2. 算法核心
  3. 爬虫

celery 用于计划任务和调度.

我们为这个系统建立了一个简单的客户端.

构建过程

  1. 可选, 创建一个虚拟环境.
  2. pip install -r config/requirements.txt 来安装所有依赖.
  3. 安装 MySQL 并创建两个数据库 bbk-spider, bbk-server, 确保 .config 文件中的数据库 uri 是正确的. 创建后配置正确的用户名和密码.
  4. 安装 Redis.
  5. python manage.py db init python manage.py db migrate python manage.py db upgrade 这些命令会初始化 bbk-server.

部署和工具

  1. python manage.py server 来启动 web 服务器.
  2. scrapy crawl XXX 来单独启动某个爬虫启动爬虫.
  3. python manage.py spider 来启动所有的爬虫.
  4. python manage.py alg 来启动聚类算法.

TeamDDH, 2018.

bbk-server's People

Watchers

James Cloos 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.