Skip to content

[Story]: Make It Easier To Run Locally With New User Management #34

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

Open
ChrisJBurns opened this issue Mar 7, 2025 · 0 comments
Open

Comments

@ChrisJBurns
Copy link
Contributor

ChrisJBurns commented Mar 7, 2025

Description

At the moment, in order to run PC locally for the first time, you need to somewhat hack it a bit by commenting the auth code on the post_users function, and then manually send the below curl request to create the user, and then uncomment the auth code in the post_users function.

curl -H 'Content-Type: application/json' -d '{ "username":"ChrisJBurns", "admin": true}' -X POST http://localhost:5000/api/admin/users.

Additional Context

Once you've got a valid users.db file in the backend folder, there is no issue, this issue only hits first time local users. We should probably make this easier for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant