Documentation:

ubos-admin createsiteΒΆ

See also Command reference.

This command is only a very shallow wrapper around ubos-admin deploy which:

  • creates a Site JSON file from information provided interactively by the user on the terminal;
  • optionally, generates an openssl key pair and a self-signed certificate and inserts those into the Site JSON file;
  • optionally, obtains a Letsencrypt SSL/TLS certificate. Due to the way Letsencrypt operates, this only works on devices that have a publicly accessible IP address and public DNS has been set up to resolve the hostname of the to-be-created site to that device.
  • deploys the generated Site JSON file using ubos-admin deploy.

It exists to make it easier for new users to successfully deploy an app to their device without having to edit Site JSON files directly.