The DIZEST CLI is a command-line tool for project management, server execution, and service management.
dizest <command> [options]Check version:
dizest --versionCreates a new DIZEST project.
dizest install [PROJECT_NAME] [OPTIONS]| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
PROJECT_NAME |
string | ✓ | - | Project directory name to create (minimum 3 characters) |
| Option | Type | Default | Description |
|---|---|---|---|
--password |
string | Auto-generated | Root account password |
# Basic installation (auto-generated password)
dizest install myproject
# Custom password
dizest install myproject --password mysecret123
# Output example:
# dizest installed at `myproject`
# password: aB3dE5fG7hI9jK1lmyproject/
├── config.py # Project configuration
├── password # bcrypt encrypted password
├── project/ # Project source
│ └── main/
├── plugin/ # Plugin directory
└── public/ # Public directory
└── app.py
Upgrades an existing DIZEST project to the latest version.
dizest upgradeproject/folder must exist in the current directory- User data is preserved, only system files are updated
cd myproject
dizest upgrade- Backup your project before upgrading (recommended)
- The
project/directory is completely replaced - Custom modifications should be stored in the
plugin/directory
Changes the root user password in Single mode.
dizest password <NEW_PASSWORD>| Parameter | Type | Required | Description |
|---|---|---|---|
NEW_PASSWORD |
string | ✓ | New password |
dizest password mynewpassword123- Passwords are encrypted with bcrypt before storage
- Be careful as passwords may remain in command history
Runs the DIZEST server in the foreground.
dizest run [OPTIONS]| Option | Type | Default | Description |
|---|---|---|---|
--host |
string | 0.0.0.0 |
Web server host address |
--port |
integer | 3000 |
Web server port number |
--log |
string | None |
Log file path (stdout if not specified) |
# Basic run
dizest run
# Specify port
dizest run --port=4000
# Specify host and port
dizest run --host=127.0.0.1 --port=8080
# Specify log file
dizest run --port=4000 --log=/var/log/dizest.log
# Allow external connections
dizest run --host=0.0.0.0 --port=80Access via browser at http://localhost:PORT
Press Ctrl+C to stop the server
Runs/stops the DIZEST server as a daemon.
dizest server <ACTION> [OPTIONS]| Action | Description |
|---|---|
start |
Start server in background |
stop |
Stop running server |
| Option | Type | Default | Description |
|---|---|---|---|
--host |
string | 0.0.0.0 |
Web server host |
--port |
integer | 3000 |
Web server port |
--log |
string | None |
Log file path |
# Start daemon
dizest server start
# Start with port specification
dizest server start --port=4000
# Stop daemon
dizest server stop# Check running dizest processes
ps aux | grep dizestForcefully terminates all running DIZEST server processes.
dizest killdizest kill- All dizest processes are terminated
- Running workflow executions are also interrupted
- Data loss is possible, use with caution
Manages DIZEST as a system service (Linux systemd).
dizest service <ACTION>| Action | Description |
|---|---|
install |
Register as systemd service |
uninstall |
Unregister systemd service |
start |
Start service |
stop |
Stop service |
restart |
Restart service |
status |
Check service status |
# Register service
sudo dizest service install
# Start service
sudo dizest service start
# Check service status
sudo dizest service status
# Restart service
sudo dizest service restart
# Stop service
sudo dizest service stop
# Unregister service
sudo dizest service uninstall# After registering service
sudo systemctl enable dizest
# Disable auto-start on boot
sudo systemctl disable dizest# Check systemd logs
sudo journalctl -u dizest -fDIZEST supports the following environment variables:
| Environment Variable | Description | Default |
|---|---|---|
DIZEST_HOST |
Default server host | 0.0.0.0 |
DIZEST_PORT |
Default server port | 3000 |
DIZEST_LOG |
Default log file path | None |
# Run server with environment variable
export DIZEST_PORT=4000
dizest run
# One-time configuration
DIZEST_PORT=5000 dizest run# Create project
dizest install myai
# Move to project
cd myai
# Run server
dizest run --port=4000# Create project (on server)
dizest install production --password securepassword123
cd production
# Register systemd service
sudo dizest service install
# Start service
sudo dizest service start
# Enable auto-start
sudo systemctl enable dizest
# Check status
sudo dizest service status# Upgrade DIZEST package
pip install dizest --upgrade
# Upgrade project
cd myproject
dizest upgrade
# Restart server (if in daemon mode)
dizest server stop
dizest server start# Check process using port
lsof -i :3000
# Kill process
kill <PID>
# Or use different port
dizest run --port=4000# Ports below 1024 require root privileges
sudo dizest run --port=80
# Or use port above 1024
dizest run --port=8080# Check logs
dizest run --log=debug.log
# Or
cat debug.log# Reset password
dizest password newpassword123