A static site is just files: HTML, CSS, JS, images. Clusra hosts them as they are, so there's nothing to configure beyond where the files live.
Repo layout
The simplest setup puts index.html at the top of the repo:
my-portfolio/
index.html
about.html
css/
style.css
js/
main.js
images/
me.jpgLeave Root directory as / and deploy. index.html is your home page.
Site inside a folder
If your files live in a folder like public or site, set Root directory to that folder, for example public. Only that folder goes live.
Deploy it
- 1Go to New project and pick your repo and branch.
- 2Choose Static HTML as the framework.
- 3Leave Build command and Output directory empty. Set Root directory if you need to.
- 4Click Deploy. Your site goes live on
<name>.clusra.app.
Links and paths
- Link pages with relative paths like
about.htmlor/about.html. - File names are case sensitive.
Logo.PNGandlogo.pngare different files. - Each folder can have its own
index.html, soblog/index.htmlopens at/blog/.
Still stuck?
Email contact@clusra.com or message us on WhatsApp at +372 5482 9906. A real person on the team answers.