webtimeless

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

  1. 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-run

    Install has the other ways and every step the installer takes. On Windows, run the Windows setup instead.

  2. Restart your browser, so it trusts the panel's new local CA.

  3. Open https://local.devmagic and log in with the panel password you set during the install.

  4. 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.

  5. 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.1 serves the panel and runs a fixed list of actions. Apache puts it at https://local.devmagic with 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 and wpcore.
  • The system is the source of truth. Sites, aliases and certificates are read from the vhosts, /etc/hosts and 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

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.

Type to search the docs, guides, comparisons and tool pages.