Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a system administrator, I want the startup command to automatically create the main workspace and first superuser, so that I can start the system without manual operations #71

Closed
frankie567 opened this issue Sep 6, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers self-hosting Questions regarding self-hosting

Comments

@frankie567
Copy link
Member

frankie567 commented Sep 6, 2022

Plan of the changes:

  • Add fief_admin_email setting. It's optional, with a default to None.
  • Add fief_admin_password setting. It's optional, with a default to None.
  • In the run_server command:
    • Check if the main workspace exists. If not, create it.
    • If fief_admin_email is not None, check if a corresponding user exists.
      • If not, create it. If fief_admin_password is None, generate a random password.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers self-hosting Questions regarding self-hosting
Projects
Status: Done
Development

No branches or pull requests

1 participant