Static HTML

Despliega tu app de Static HTML

If you've got a folder of .html files and the assets they reference, there's no build step to run — that folder already is the deployable thing. This is the whole reason harvis exists.

steps
  1. 01

    There's no build step

    A plain HTML site is already in its final form. Whatever a framework's build command produces for you, you already have by hand — nothing to compile or bundle.

  2. 02

    Make sure there's an entrypoint

    Have an "index.html" at the top of the folder — that's what loads when someone visits the site's address with no path after it.

  3. 03

    Despliégalo

    Ejecuta "npx harvis deploy ." desde la raíz de tu proyecto. Sin configuración y sin iniciar sesión para este primer despliegue — consigues una URL en vivo al instante, más un enlace privado de reclamación para vincular el sitio a una cuenta gratuita cuando quieras.

Despliega Static HTML con un comando

Compila tu proyecto y entrégale la carpeta de salida a harvis. No hace falta cuenta para este primer despliegue — consigues un enlace en vivo y un enlace privado de reclamación para gestionarlo más tarde.

terminal
npx harvis deploy .

¿Prefieres arrastrar archivos en vez de usar una terminal? Compila el proyecto y suelta la carpeta de salida aquí para publicarla igual.

Preguntas sobre desplegar Static HTML

Can I deploy just one file, or does it need to be a folder?

Either. A single "index.html" with no other files works fine — drag it in or point the CLI at its folder. Add a "styles.css" or an "images" folder alongside it and those publish too, as long as your HTML references them with relative paths.

Do relative links between my pages work correctly?

Yes — the folder structure you upload is served exactly as-is, so a link from index.html to about.html (or to images/logo.png) resolves the same way it would opening the files locally, as long as the paths are relative rather than pointing at your local filesystem.

¿Desplegar una app de Static HTML en harvis es realmente gratis?

Sí, sin tarjeta. Los límites gratuitos son 500 archivos y 50 MB por sitio, de sobra para un build estático de Static HTML. Los sitios publicados no caducan — siguen en vivo hasta que los elimines.

¿Puedo usar mi propio dominio con el sitio de Static HTML desplegado?

Cada sitio recibe una dirección harvis.dev gratuita, y puedes elegir tu propio subdominio desde el panel tras reclamarlo — mi-app.harvis.dev en vez de uno aleatorio. Apuntar un dominio que ya tengas (como mitienda.com) al sitio todavía no está disponible.

¿En qué se diferencia esto de desplegar Static HTML en Vercel o Netlify?

Vercel y Netlify giran en torno a conectar un repositorio Git y ejecutar tu build en sus servidores, con un panel para configurarlo. harvis se salta todo eso: compilas en local (o en tu propio CI), ejecutas un comando de la CLI contra la carpeta de salida y obtienes un enlace — sin configurar un proyecto, y sin necesidad de cuenta hasta que quieras conservar el sitio.

other frameworks

¿Vas a desplegar otra cosa?

La receta es la misma en todas partes — compílalo y luego npx harvis deploy la salida.