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?