Giter VIP home page Giter VIP logo

wechat-admin's Introduction

wechat-admin

Background


写了一堆背景,后来都删掉了,简单说就是迁移公众号后台到自己的服务器,需求你懂的。

Usage


  1. 创建虚拟环境

    • 如果你是用virtualenvwrapper管理的运行环境
    mkvirtualenv wechat
    pip install -r requirements.txt
    
    • 如果你希望把依赖包安装到global环境(三思啊)
    sudo pip install -r requirements.txt 
    
  2. 配置

    可以将你的app_idsecret_key配置到settings.py中,为了方便区分开发环境和生产环境,建议把配置项写到local_settings.py中,它会覆盖settings.py的配置项

    cp settings.py local_settings.py
    
  3. 创建数据库

    数据库的配置也是在settings.py或local_settings.py里的,配好以后

    make initdb
    

    这个初始化脚本写的比较简单,可以根据自家的习惯修改

  4. 部署

    本地测试直接执行python app.py就够了,如果想用其他的web server,可自行考虑部署方案

TODO

  1. UI
  2. see those TODO comments

wechat-admin's People

Contributors

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