Deployment¶
The Grit Web SDK (frontend) deploys together with the backend as a unified application. There is no separate deployment process for the frontend.
How to Deploy¶
To deploy the frontend along with the backend, follow the Grit One SDK Deployment Guide.
The deployment commands handle both frontend and backend:
# Build the Docker image (includes frontend build)
python scripts.py build_image
# Deploy to production
python scripts.py deploy
What Happens During Deployment¶
When you run the deployment commands:
- The frontend assets are built using Vite (
npm run build) - The built assets are included in the Docker image
- The unified application is deployed to the production environment
Local Development¶
For local frontend development, see the Getting Started section in the Overview.
The local Vite dev server runs alongside the Django backend during development.