forked from quant-speed-AI/Scoring-System
创赢未来评分系统 - 初始化提交(移除大文件)
This commit is contained in:
16
miniprogram/DEPLOY.md
Normal file
16
miniprogram/DEPLOY.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# Deployment Guide
|
||||
|
||||
## Backend (Django)
|
||||
1. **Migrations**: Run `python manage.py migrate shop` to create `WeChatUser`, `Distributor` tables.
|
||||
2. **Config**: Ensure `WeChatPayConfig` is active in Admin Panel with correct `AppID`, `MchID`, `APIv3 Key`, and `Certificates`.
|
||||
3. **Domain**: Add `https://market.quant-speed.com` to WeChat Admin -> Development Settings -> Server Domain.
|
||||
|
||||
## Frontend (Taro Mini Program)
|
||||
1. **Install**: `npm install` in `market_page/miniprogram`.
|
||||
2. **Build**: `npm run build:weapp`.
|
||||
3. **Upload**: Open `dist/` in WeChat Developer Tools.
|
||||
4. **AppID**: Ensure `project.config.json` has the correct AppID.
|
||||
|
||||
## WeChat Admin Configuration
|
||||
1. **Request Domain**: Add `https://market.quant-speed.com`.
|
||||
2. **Payment**: Link the Mini Program AppID to the Merchant ID in WeChat Pay Platform.
|
||||
Reference in New Issue
Block a user