Could you add an option to automatically create an admin using environment variables?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.1k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi there! 👋
I'm using Remotely for personal testing and stuff. I've noticed that every time I run tests and the database gets lost or deleted, I also lose the admin user. 😅
It would be super helpful if there was a way to automatically create an admin user using environment variables. For example, something like ADMIN_EMAIL and ADMIN_PASSWORD, so that when the server starts, it automatically creates an admin if these values are set.
This would save me time every time I run tests and have to start from scratch, recreating the user every time. Just an idea that I think could help others in a similar situation. 😉
Thanks for reading and considering this. It would be awesome!
Cheers,
IPnotics
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the server-startup path and the existing admin-user creation flow, then trace how environment variables are read; done means configured ADMIN_EMAIL and ADMIN_PASSWORD values create an admin when the database is new or reset, without breaking normal startup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100