Requirements
- HTML, CSS and JavaScript files
- Account on Vertra Cloud
Project Structure
Configuration
vertracloud.config
Example: Landing Page
index.html
Deploy
- Dashboard
- CLI
- VS Code
- Compress the project into a
.zip(folders likenode_modules,venvandtargetare removed automatically) or push it to GitHub. - In the dashboard, click New Project and upload the
.zipor paste the repository URL. - In Build, check the runtime (Static), the main file (
index.html) and the memory. Start and build commands are under Advanced settings. - Add your environment variables in Environment.
- In Network, turn on web publishing so the app gets a
*.vertraweb.appaddress (512 MB of memory or more). The app must listen on port 80. - Review and deploy. Follow the output in the Logs tab.
Compiled Frontend Frameworks
For React, Vue, Svelte or Angular projects, build locally and send only the output folder:- React (Vite)
- Vue
- Svelte
- Angular
Notes
- Static sites do not need a backend server
- All routes are served by the platform’s internal server
- Automatic SSL (HTTPS) on every domain
- CDN and automatic caching for static assets
- No support for route rewriting (SPAs with client-side routing need special configuration)