Logo

GitLab

Sign in

朱子纯 / test

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • Commits 90
  • Compare
  • Branches 4
  • Tags 0
  • test
  • scripts
  • seed-dev-admin.sh
30 Apr, 2026
2 commits
  • fix(scripts): load .env.local in seed-dev-admin so it targets correct DB ...
    c0e2fcae
    Previously the script used hardcoded defaults (127.0.0.1:3306 / xly_erp)
    and ignored the user's remote test DB. Now sources .env.local like
    setup-test-db.sh does. Documents the prereq that Spring Boot must have
    started at least once (Flyway applies V1) before seeding.
    zichun authored
    2026-04-30 17:55:05 +0800  
    Browse Code »
  • chore(backend): add CORS config and dev admin seed script ...
    3a50cebe
    Enables the new frontend/ Vite app (localhost:5173) to call the backend
    across origins. Adds OPTIONS preflight permitAll. Seed script provisions
    an admin user (sUserName=admin / password=666666) for first-run login.
    zichun authored
    2026-04-30 17:53:21 +0800  
    Browse Dir »