Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wechat_admin-1.2.5.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wechat_admin-1.2.5-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file wechat_admin-1.2.5.tar.gz.

File metadata

  • Download URL: wechat_admin-1.2.5.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.2

File hashes

Hashes for wechat_admin-1.2.5.tar.gz
Algorithm Hash digest
SHA256 65d731735732e73a6eb7e1137d07ca72b99ca27d5a6f43add2c0e421e7e0aa59
MD5 06a8fd717282cf7324b440e483fa228c
BLAKE2b-256 111bcf13f98a664fafc568b5d60bef9aa982bda1af299c2c69437b33951427c4

See more details on using hashes here.

File details

Details for the file wechat_admin-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: wechat_admin-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.2

File hashes

Hashes for wechat_admin-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 da63151b6c9c77e68820b8083c481ed71e87a69010fae8f3e5e8f596525a6b4b
MD5 9f4b303c6627712d65f302e07059b9e2
BLAKE2b-256 f846ef1d692e077de5a8a19fe22981ada3486663de8d96ab586d132722dadb83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page