Skip to content
项目

关于

用于开发和生产环境的进程管理器

开发工具

这些数字如何统计

实测星标增长

24小时
+4
7天
+6
15天
+20
1个月
+45

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…