Manual adding of new users
-
Supposedly one can add new users in Discourse via the terminal as in:
./launcher enter app rails c user = User.create!(username: 'newusername', email: 'user@example.com', password: 'password', active: true)Is there a "translation" to the Cloudron world?
Cheers -
Can you add more info an docs links, where this is from and which environment this expects? Have you tried to get this working via the webterminal into your discourse instance?
https://docs.cloudron.io/apps/discourse/#changing-root-account-email has an example on how to get a rails prompt, which might help here
-
This is for admins - but should work for anyone else -> https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274 ; I guess it is equivalent to your link.
Yes, I'd tried the console but wasn't sure how to do the "create" new user bit ...#
Thanks and regards! -
OK. Found another meta.discoures post on the subject -> https://meta.discourse.org/t/how-to-manually-add-users-and-email-in-console-mode/26669/2 ; might explain the how-to?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login