You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
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 belowcurl
request to create the user, and then uncomment the auth code in thepost_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.The text was updated successfully, but these errors were encountered: