Deploy a Mission

Preparing your ZIP

ZIP the root of your project folder. Include your source files and package.json. Leave real secrets out of the ZIP. During upload, provide required API keys, database URLs and other secrets in the environment variables dialog before the build starts. For an existing mission, manage them in Mission Control → Environment Variables and redeploy to apply changes. Saved values are write-only in the dashboard; see Environment Variables for details. Do not include node_modules or build artifacts — moonbase builds for you.

Upload and deploy

Drag and drop your ZIP into the upload area or click to browse. The deploy console streams live progress: unpacking → building → starting. Static files (HTML, CSS, JS) are usually live within seconds of the upload finishing. Projects moonbase installs and builds (Vite, React, Next.js, Node/Express) are usually live within a minute or two; a large build can take longer.

Deployment URL

Each mission gets its own URL: https://<slug>.moonbase.host. The address comes from the name you give the mission. Deploying again to the same mission replaces what that URL serves; earlier versions stay in its deploy history. You can add a custom domain later.

Redeploy / update

Upload a new ZIP from the 'Mission Control' page for your mission. Use the 'Deploy new version' button. Previous versions are listed in the Mission Log.

Supported frameworks

Static HTML/CSS/JS, Next.js, Vite, Create React App, plain React, and plain Node/Express projects (a valid package.json with a start script) are all supported and auto-detected — no build config to write for any of them. Python web apps deploy too: Flask, Django, and FastAPI projects that expose a standard WSGI/ASGI app object (a top-level app = Flask(__name__), app = FastAPI(), or a Django manage.py + wsgi.py) and list their dependencies in requirements.txt — moonbase runs them with gunicorn or uvicorn automatically. (Python v1 limits: requirements.txt only, no poetry/pipenv/uv lockfiles; the app object must be created at module top level, not inside a factory function; no background workers or non-HTTP apps; dependencies must install without a native build toolchain.) Vue (static build) and Nuxt deploy too. Astro deploys its static output (`astro build`); Astro in server-rendering (SSR) mode isn't supported yet. SvelteKit deploys with the Node adapter (@sveltejs/adapter-node) only. When a project is one of these unsupported cases, you'll see a clear message rather than a broken build. Not currently supported: other backend languages (Ruby, Go, Rust, PHP, Java, etc.). If your project is one of these, the upload will tell you it's unsupported rather than producing a broken deploy.