OrdioDocumentation
Version 1.0.0
Installation guide →
Launch

Deployment

Choose the command for your website host. Each command also publishes the required Firebase services.

CommandResult
npm run deployDeploys dist to the linked Netlify site
npm run deploy -- --host=firebaseDeploys dist to Firebase Hosting
npm run deploy -- --host=noneLeaves dist ready for another static host

Use the first command for Netlify. Choose one of the other commands only if you prefer another host.

Optional integrations

The standard deployment includes Ordio's core ordering features and does not request payment or WhatsApp credentials. Add --providers= only when an optional integration is ready.

text
npm run deploy -- --providers=stripe
npm run deploy -- --providers=paypal
npm run deploy -- --providers=paystack
npm run deploy -- --providers=yoco,whatsapp
npm run deploy -- --host=firebase --providers=stripe
npm run deploy -- --host=none --providers=whatsapp

Allowed values are yoco, stripe, paypal, paystack and whatsapp. Omit the option when no optional integration is required. WhatsApp secret prompts appear only when the command includes --providers=whatsapp.

Before deploying

  • .firebaserc contains the intended Firebase project ID
  • .env.production contains the current HTTPS host address
  • functions/.env contains the website address
  • Both environment validation commands pass
  • The chosen host has been created or linked
  • Optional provider sandbox testing is complete

After deploying

Add the deployed hostname to Firebase Authentication Authorized domains. Open /admin, sign in, place a manual order and confirm it appears under Orders.

If publishing fails, fix or reconnect the hosting account and run the same command again. Do not create the administrator again.

Ordio documentation - Updated 9 August 2026Your hosting. Your data.