Files
爽哒哒 f26d35da66
All checks were successful
Deploy to Server / deploy (push) Successful in 18s
创赢未来评分系统 - 初始化提交(移除大文件)
2026-03-18 22:41:23 +08:00

17 lines
810 B
Markdown

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