Skip to main content

Deploy from CLI

The fastest way to deploy. No git setup required.

Basic deploy

cd my-project
makofy deploy

If the directory isn't linked to an app yet, Makofy automatically creates one using the directory name.

How it works

  1. Detect — the CLI checks for package.json, go.mod, requirements.txt, etc.
  2. Package — creates a tarball of your source code (respects .gitignore)
  3. Upload — sends the tarball to the Makofy API
  4. Build — a Kaniko build pod generates a container image
  5. Deploy — the image is deployed to your namespace with a live URL

If you already created an app in the dashboard:

makofy link my-app
makofy deploy

What gets uploaded

The CLI uses git ls-files to determine which files to include, which means your .gitignore is respected. If you're not in a git repo, these directories are excluded by default:

  • .git/
  • node_modules/
  • vendor/
  • __pycache__/
  • .next/
  • dist/
  • build/
  • .venv/

Files larger than 50 MB are automatically skipped.

Watching the deploy

The CLI automatically watches the build and deploy process:

✓ Detecting project... Node.js
✓ Packaging source... 2.4 MB
✓ Uploading... done
✓ Building image... done
✓ Deploying... done

✓ Live at https://my-app--my-slug.makofy.sh
47s

Check status

makofy status

View logs

makofy logs

Open in browser

makofy open