This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
> bun install
> cp .env.example .envChange DATABASE_URL to your postgres url
> bunx prisma generate
> bunx prisma migrate dev
> bun run dev> bun run build
> bun startPrerequisites:
- Kubernetes cluster (Minikube, Docker Desktop, Kind, etc.)
- Skaffold installed
First, create the values configuration:
cp k8s/chart/values.example.yaml k8s/chart/values.yamlRuns the application in development mode with hot-reloading enabled.
skaffold devBuilds and runs the optimized production image using the production profile.
skaffold run -p productionOpen http://localhost:3000 with your browser to see the result.