Skip to content

Instruct admins to set up through CLI  #3223

Closed

Description

@presleyp

Problem

When an admin starts a new deployment of Coder, they must create the first user through CLI, but this is not obvious.

Initial Solution

Have the frontend detect whether the first user has been created. If not, have it display CLI instructions.

Eventual Solution

Replace the CLI instructions with a sign-up page so that the admin can do create their user through the UI.

Definition of Done

  • In a deployment with no users, the login page redirects to a page that displays instructions on how to create the first user through the CLI
  • A deployment with at least one user has no change

Notes

Here's what the signup flow looks like from the CLI: https://asciinema.org/a/cy8QVTPwazDAV6cxcV6DF1Qnj

Here's where initial user creation is implemented in the CLI: https://github.com/coder/coder/blob/v0.8.1/cli/login.go#L81-L196

Activity

  1. kylecarbs commented on Jul 26, 2022

    @kylecarbs
    Member

    Would this work be obviated by #3225?

  2. kylecarbs commented on Jul 26, 2022

    @kylecarbs
    Member

    Ahh, I see based on the description it would be. Could we just jump straight to doing the form instead? Seems like this middle step would be a little helpful, but most users are likely to go back to the CLI anyways.

  3. misskniss commented on Aug 15, 2022

    @misskniss

    We do not need this one now that we have #3225. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    siteArea: frontend dashboard

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions