question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Feature: Set admin on first run

See original GitHub issue

When you freshly install Wekan from the bare metal, there’s no default user and no admin account. So i would suggest to create a first user / admin account on the first run, by setting a env variable to something like FIRST_USER =potus44:y3sw3c4n:bo@whitehouse.gov.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Maraboncommented, Mar 19, 2017

Instead of creating a user upon first run you could also put in a check on the registration, and if the registration is for the first user, make that user the admin account. That would mean no extra/new environment variables.

0reactions
ghostcommented, Apr 2, 2017

@lkisme @Marabon You’re right, it’s much more clear and simple 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to configure your application on first run? - Stack Overflow
Get access to the module where you have your application bootstrap, then register manually a super-user(admin) on the DB table.
Read more >
Install or Uninstall Roles, Role Services, or Features
On the Windows start screen, right-click the Windows PowerShell tile, and then on the app bar, click Run as Administrator. Type Get- ...
Read more >
13 ways to use "Run as administrator" in Windows 10
First, open the Start Menu. Then, find the shortcut of the program you want to launch in the All apps list, and right-click...
Read more >
Setting up Admin Center - Liberty - IBM
To install Admin Center on hosts that cannot access the internet-based Liberty repository, first install Liberty and the Admin Center feature on a...
Read more >
Manage hosted feature layers—ArcGIS Online Help
Owners of hosted feature layers and administrators can alter settings on ... add the hosted feature layer to a map, you can configure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found