Deploy & admin
Production deployment
Ubuntu deploy pipeline, prisma migrate deploy, seeds, cron, SMTP staging, and optional Razorpay.
Deploy & admin guide for day and boarding schools.
Last updated July 24, 2026
Production deploys sync the server repository, merge environment files, install dependencies, run Prisma migrations, build Next.js, and restart the application service. The default update path preserves existing data and runs a minimal user seed.
Migrations and seeds
- npx prisma migrate deploy - forward-only; runs before build on every update
- Default seed - db:seed:users on every deploy unless skipped
- Full demo - npm run demo (SSH + db:seed:all) only when explicitly needed; never as routine prod update
Post-deploy ops
- Schedule scripts/run-school-cron.sh daily (e.g. 05:30 IST) with FEES_CRON_SECRET - fee autopay, dunning, homework due reminders (and optional admissions expire-offers)
- Validate SMTP on staging via /settings/email-test before go-live receipts and magic links
- Online fees - FEES_ONLINE_PAYMENT_MODE=simulated for staging; set razorpay (with RAZORPAY_* keys + webhook) when enabling live checkout; disabled when unset/legacy-off
- DATABASE_URL - MySQL connection string
- NEXTAUTH_URL / NEXT_PUBLIC_SITE_URL - canonical public URL
- NEXTAUTH_SECRET - session encryption secret
- SMTP_* - fee receipts, admissions, magic-link, and notifications
- FEES_ONLINE_PAYMENT_MODE - simulated | razorpay | disabled
- FEES_CRON_SECRET - auth for scripts/run-school-cron.sh fee jobs
- Deploy keys and SSH - see tracked .env templates for DEPLOY_* variables
Common questions
Quick answers in plain language.
What is school ERP production deployment?+
Ubuntu deploy pipeline, prisma migrate deploy, seeds, cron, SMTP staging, and optional Razorpay. This is a core topic in Deploy & admin on Schoolyi.
How do I set up production deployment in school management software?+
Follow the steps in this guide during environments, migrations, and operations runbooks. Start with getting-started docs if you are new to Schoolyi, then apply the workflows here for your school year.
Who manages production deployment at a typical K-12 school?+
Usually deploy & admin and front-office staff responsible for school ERP production deployment. Teachers and finance may have scoped access depending on your role configuration.
Does Schoolyi support Ubuntu school software deploy?+
Yes. Schoolyi is a cloud school management system (SMS) with connected modules on one student roster and academic calendar. See related guides below or contact us for a demo focused on school ERP production deployment.
Related searches
School leaders and IT teams often search for: Ubuntu school software deploy, and school SaaS hosting.
