Skip to content

devlanes is in beta and not ready for production use.Report an issue

devlanes setup

Works out what this machine needs and lists each step as ok, todo or skip:

ca trust the CA in the stores tls.trust names (mkcert's CA with tls.ca: mkcert)
hosts install the /etc/hosts helper (macOS and Linux) when *.localhost does not
resolve to loopback, the user config asks for the hosts file, or the
daemon needs it for a project
resolver send hostnames.tld to the devlanes DNS server (a resolver file, or an
NRPT rule on Windows) when hostnames.resolver is resolver

Then it asks once before doing the todo steps; sudo asks for your password at most once. Without a terminal, pass –yes.

devlanes setup [OPTIONS]
  • --check: Only report each step; exit 0 when nothing is missing, 1 otherwise.
  • --remove: Undo everything: the resolver file or NRPT rule, the /etc/hosts helper and the CA trust.
  • --keep-ca: With –remove, keep the CA trusted.
Examples:
devlanes setup set up what is missing, asking once
devlanes setup --check exit 1 when something is missing
devlanes setup --remove --keep-ca remove the hosts helper and resolver, keep the CA

Every command also takes the global options.