forked from quant-speed-AI/Scoring-System
17 lines
810 B
Markdown
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.
|