Skip to content

jinhucheung/wechat-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wechat Dev

Build Wechat Official Account Development Enviroment With Rails

Start Local Server

1. Start Nginx

Wechat Server transmits data with your server start in 80 port

configure nginx

server {
    listen 80;

    server_name git.com;

    location / {
      proxy_pass http://127.0.0.1:3000;
      client_max_body_size   1000m;
    }
    error_page 500 502 503 504 /50x.html;

    location = /50x.html {
        root html;
    }
}

2. Start Rails Server

bundle install

setup Eric-Guo/wechat

rails s

3. Start Natapp

Natapp is NAT traversal tool for supporting public ip.

download Natapp client

usage Natapp client

Apply for Wechat Debug Account

  1. Link Wechat Debug Account

  2. Fill in these following configuare

Wechat Debug Account configuare

Issues

测试公众服务号 添加接口配置信息失败

Thanks

Eric-Guo/wechat

About

Build Wechat Official Account Development Enviroment With Rails

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published