Code Monkey home page Code Monkey logo

rss's Introduction

##简介 将微信公众号的订阅内容转换成RSS格式订阅,以便在RSS阅读器上查看

##环境依赖

  1. phantomjs

    cd /usr/local/share
    sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
    sudo tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2
    sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs
    sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
    sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
  2. selenium

    sudo pip install -U selenium
  3. Django

    sudo pip install -U django
  4. pip

    方法1

    wget https://bootstrap.pypa.io/get-pip.py
    python get-pip.py

    方法2

    sudo apt-get install python-pip
  5. uwsgi

    sudo apt-get install libxml2-dev python-dev
    sudo pip install uwsgi

    uwsgi.xml 记得去掉

    <plugins>python</plugins>
    <uwsgi>                       
    <socket>127.0.0.1:8631</socket>
    <chdir>./</chdir>
    <pythonpath>./rss/</pythonpath>
    <module>wsgi</module>
    </uwsgi>
  6. nginx

    sudo apt-get remove apache2
    sudo apt-get install nginx
    sudo vi /etc/nginx/sites-enabled/default
    location /rss/ {
        uwsgi_pass 127.0.0.1:8631;
         include uwsgi_params;
     }

rss's People

Contributors

tttwwy avatar

Watchers

 avatar  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.