As told in this post, when I run this command to create an admin user on a new disco installation, thru rails console (without having to activate thru email, for just once, for one admin):
u = User.create!(username: ‘xx’, email: ‘email@example.com’, password: ‘xxx’, mailing_list_mode: ‘true’);u.approve(Discourse.system_user, false) ; u.activate
I get this error:
 pry(main)> =“u = User.create!(username: 'user1’, email: ‘firstname.lastname@example.org’, password: ‘Password12345’, mailing_list_mode: ‘true’);u.approve(Discourse.system_user, false) ; u.activate" SyntaxError: unexpected '=', expecting end-of-input =“u = User.create!(username:... ^
I’m no user of rails commands, I could appreciate if you could tell the exact command with exact quotes etc I’ve to use in the command in order to just create 1 admin user on a fresh Disco installation.