Getting started
What devmagic-panel is, how it works, and your first minutes in it: install, log in, and make or take over a site.
- Runs on
- Ubuntu or Debian (Mint works), with sudo rights and curl; or Windows 10 and 11 through WSL 2
- Address
https://local.devmagic, on this machine only- Works with
- Sites the panel made, sites from the devmagic CLI and sites made by hand
On this page
devmagic-panel is a control panel for the WordPress sites on your own machine:
certificates, Apache vhosts, /etc/hosts, PHP versions, WordPress cores and
installs, as pages and buttons, in light or dark. It grew out of the
devmagic CLI, keeps the same local setup, and listens on
localhost only.
First steps
-
Install it. Check first with a dry run, then run the same command without
--dry-run:curl -fsSLO https://webtimeless.cloud/devmagic-panel.sh && bash devmagic-panel.sh --dry-runInstall has the other ways and every step the installer takes. On Windows, run the Windows setup instead.
-
Restart your browser, so it trusts the panel's new local CA.
-
Open
https://local.devmagicand log in with the panel password you set during the install. -
Make a site or take one over. Sites lists every site on this machine, the ones you made by hand included. New site makes one from a repo and a dump, a fresh WordPress, an empty site or your organization's repos. A site you made by hand can be taken over.
-
Open Aura for what needs attention on your sites and this machine, with a fix for most of it.
How it works
- One server, one page. A Fastify server on
127.0.0.1serves the panel and runs a fixed list of actions. Apache puts it athttps://local.devmagicwith a certificate from the panel's local CA. - Root through one door. Everything that needs root goes through
dmp-root, a root-owned script that checks every argument and reads its paths from/etc/devmagic-panel/config.env. The sudoers rule allows only it andwpcore. - The system is the source of truth. Sites, aliases and certificates are
read from the vhosts,
/etc/hostsand the certificate folder. The panel's own database keeps only what the system cannot tell. - Jobs you can follow. Installs, imports and updates run as jobs with steps and output. A failed job can be retried from its step, and most can be undone.
Find your way
- Start: Install, Windows (WSL 2) and your existing setup, for what the panel changes on a machine that already has sites.
- Sites: Sites, New site, projects, files, databases and PHP versions.
- Machine: Services, Local mode and how it stays safe.
- Panel: the menu and other pages, the AI assistant, undo and backups and updates. Ctrl+K jumps to any site or page from anywhere in the panel.
- Help: Troubleshooting and Uninstall.
The panel also has modes waiting to be found. The demo (opens in a new tab) has every one of them open.
Checked against devmagic-panel 1.70.0.