VideoStudy/DEPLOYMENT.md
2026-02-09 18:31:08 -03:00

996 B

VideoStudy Deployment Guide

1. Cloudflare Protection

  1. Create a free Cloudflare account.
  2. Add site api.videostudy.com (example).
  3. Configure Rate Limiting:
    • URL: /api/analyze
    • Limit: 10 requests / 1 minute
    • Action: Block
  4. Enable Bot Fight Mode.

2. Obfuscation (ConfuserEx)

To protect your code before publishing:

  1. Download ConfuserEx CLI.
  2. Run: Confuser.CLI.exe confuser.xml
  3. Use the obfuscated DLLs in the output folder for the installer.

3. MSIX Packaging (Microsoft Store)

  1. Ensure Square44x44Logo.png and other assets are in Images folder.
  2. Edit Package.appxmanifest with your Publisher ID.
  3. Run:
    dotnet publish -c Release -r win10-x64 /p:GenerateAppxPackageOnBuild=true
    
  4. Upload .msixupload to Partner Center.

4. API Deployment

  1. Deploy VideoStudy.API to Azure App Service or DigitalOcean.
  2. Set Environment Variables:
    • LlmSettings__ApiKey: Your Real Key
    • LlmSettings__Provider: Groq