Static HTML

Deploy aplikasi Static HTML kamu

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

    Deploy

    Jalankan "npx harvis deploy ." dari root proyek kamu. Tanpa konfigurasi dan tanpa login untuk deploy pertama ini — kamu langsung mendapat URL live, plus link klaim pribadi untuk menghubungkan situs itu ke akun gratis kapan pun kamu siap.

Deploy Static HTML dengan satu perintah

Build proyek kamu, lalu serahkan folder output ke harvis. Tidak perlu akun untuk deploy pertama — kamu akan mendapat link live dan link klaim pribadi untuk mengelolanya nanti.

terminal
npx harvis deploy .

Lebih suka menyeret file daripada terminal? Build proyek kamu, lalu lepas folder output di sini dan publikasikan dengan cara yang sama.

Pertanyaan deploy 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.

Apakah men-deploy aplikasi Static HTML ke harvis benar-benar gratis?

Ya, tanpa kartu kredit. Batas gratisnya adalah 500 file dan 50 MB per situs, yang lebih dari cukup untuk build statis Static HTML dengan banyak ruang tersisa. Situs yang dipublikasikan tidak kedaluwarsa — situs itu tetap live sampai kamu menghapusnya.

Bisakah saya memakai domain sendiri untuk situs Static HTML yang di-deploy?

Setiap situs mendapat alamat harvis.dev gratis, dan kamu bisa memilih subdomain sendiri dari dashboard setelah mengklaimnya — my-app.harvis.dev, bukan yang acak. Mengarahkan domain yang sudah kamu miliki (seperti mytoko.com) ke situs itu belum didukung.

Apa bedanya ini dengan men-deploy Static HTML ke Vercel atau Netlify?

Vercel dan Netlify dibangun di sekitar menghubungkan repo Git dan menjalankan build kamu di server mereka, dengan dashboard untuk mengonfigurasinya. harvis melewati semua itu: kamu build secara lokal (atau di CI kamu sendiri), jalankan satu perintah CLI terhadap folder output, dan dapatkan link — tanpa setup proyek, dan tanpa perlu akun sampai kamu ingin mempertahankan situs itu.

other frameworks

Men-deploy sesuatu yang lain?

Caranya sama di mana pun — build, lalu npx harvis deploy hasil outputnya.