Skip to content
Proyek

Tentang

Manajer proses untuk development dan produksi

Alat pengembangan

Cara angka ini diukur

2,835 bintang122 Fork +2 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+2
dalam 7 hari
+8
dalam 15 hari
+20
dalam 1 bulan
+46

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

dekit

Process manager for dev and prod

Docs Follow @pavelvolok on X

dekit is a process manager. It runs your project's tasks, such as servers, databases and workers, in development and in production.

  • Define your project's tasks in a config file
  • dekit handles dependencies, crashes and restarts
  • Watch and control tasks in a terminal UI
  • A full CLI for humans and agents
  • Built-in JavaScript for writing scripts
dekit terminal UI

Install

macOS, Linux:

curl -fsSL https://dekit.run/install.sh | sh

Windows (PowerShell):

irm https://dekit.run/install.ps1 | iex

npm:

npm install -g @dekit/cli

PyPI:

pip install dekit-cli

Quick start

dekit.yaml at the project root:

tasks:
  db:
    cmd: ["postgres", "-D", ".data/db"]
    ready: { log: "ready to accept connections" }
  api:
    cmd: ["cargo", "run", "-p", "api"]
    deps: [db]
    autostart: true
dekit up        # start the runner and the autostart tasks
dekit ls        # see what is running
dekit attach    # open the terminal UI
dekit down      # stop for the day; `dekit up` brings everything back
dekit up and dekit ls in a terminal

The tasks keep running after you close the terminal. dekit help shows the docs in your terminal.

Coming from mprocs

dekit is the next version of mprocs. dekit mprocs runs your mprocs.yaml with the same flags and keys. See Coming from mprocs to switch to dekit.yaml.

Updates

Follow @pavelvolok on X for news about dekit.

License

MIT

Jelajahi proyek terkait

Memuat…