Giter Site home page Giter Site logo

infosub's Introduction

InfoSub

什么是 InfoSub

InfoSub 是一个信息聚合工具, 支持将网站、 微信公众号等各种资讯网站统一聚合, 并为用户提供自定义订阅服务。

技术栈

信息聚合主要使用 RSS, 爬虫, 因此技术栈是:

  • Python 2.7 (日后升级为 3.6
  • Flask
  • Celery
  • Scrapy

开发准备

安装依赖

建议在安装依赖前创建并使用虚拟环境。

pip install -r requirements.txt

运行

首先需要配置数据库并按照 config.py 配置环境变量

启动服务

python manage.py runserver

初始化数据库

python manage.py initdb

部署

Docker, Of Course

STEP 1. 启动服务

docker-compose -f docker-compose.yml up -d

STEP 2. 初始化数据库

docker-compose -f docker-compose.yml exec sub_service python manage.py initdb

然后可以访问 http://127.0.0.1 即可, 默认管理员: admin, 登录密码: admin

注意

  1. 线上一定不要使用 yml 里的默认密码
  2. 线上环境一定要为数据库添加持久化

infosub's People

Contributors

hitolz avatar hyponet avatar

Stargazers

 avatar

Watchers

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