Skip to content

πŸ‡ Automatically Creating an Admin UserΒ #70

@paOmer

Description

@paOmer

When destroying the local VM and deleting the db.sqlite3 file we also delete the manually added admin user.
I suggest to add a data migration to the login app that will create a superuser when running up the VM.
An example on how to do so can be seen here Resume users migration.

Steps to follow:

  • Create a data migration at the login app
  • Add a genearte_super_user function to it
  • Publish the new superuser login details (username&password) in the PR

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions