Deploy Angular in minutes
Darmi Cloud builds your Angular app with the CLI and serves the optimized production bundle from a fast nginx container over HTTPS. Connect GitHub once and every push ships automatically.
How to deploy Angular
Darmi Cloud has a dedicated React / Vite preset, so there is no configuration to write.
- 1
Sign in with GitHub
Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.
- 2
Import your repository
Click New Project, pick your Angular repository, and choose the branch to deploy — the default branch is preselected.
- 3
Select the React / Vite preset
Choose the React / Vite preset. The commands are prefilled (build: npm run build, start: (served statically by nginx)) — adjust them only if your project differs.
- 4
Add environment variables
Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.
- 5
Deploy and watch it go live
Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.
Preset defaults
- Preset
- React / Vite
- Container port
- 80
- Build command
- npm run build
- Start command
- (served statically by nginx)
Tips for Angular on Darmi Cloud
- Angular 17+ outputs to dist/<project>/browser — set that as the output directory in project settings.
- Client-side routes are served with an index.html fallback, so deep links and refreshes resolve correctly.
- Using Angular SSR (@angular/ssr)? Pick the Node.js / Express preset and start the server bundle instead.
Angular deployment FAQ
Which output directory do I set for Angular?
For Angular 17 and newer, dist/<your-project-name>/browser. For older versions, dist/<your-project-name>. Check the path your local ng build produces.
Does the Angular router work after a page refresh?
Yes. Static hosting falls back to index.html, so Angular's client-side router handles deep links correctly.
Can I use my own custom domain?
Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.
Is there a free plan?
Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.
Deploy other frameworks
Ready to deploy your Angular app?
Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.
Deploy Angular now