Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.2 KB

selfhost.md

File metadata and controls

27 lines (18 loc) · 1.2 KB

Self Hosting

If you are self-hosting the server, you can still configure CLI to export data & perform basic admin actions.

To do this, first configure the CLI to point to your server. Define a config.yaml and put it either in the same directory as CLI binary or path defined in env variable ENTE_CLI_CONFIG_PATH

endpoint:
  api: "http://localhost:8080"

You should be able to add an account, and subsequently increase the storage and account validity using the CLI.

For the admin actions, you first need to whitelist admin users. You can create server/museum.yaml, and whitelist add the admin userID internal.admins. See local.yaml in the server source code for details about how to define this.

You can use account list command to find the user id of any account.

# ....

internal:
  admins:
    # - 1580559962386440

# ....