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):
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.
But in this command, we’ve not specified any username or password.
how will we login thereafter?
Sorry, as I said, I don’t know a thing about rails commands. Just want to this one ‘needed’ command.
[6] pry(main)> rake admin:create # Creates a forum administrator
NameError: undefined local variable or method `create' for main:Object
from (pry):5:in `__pry__'
[6] pry(main)> rake admin:create # Creates a forum administrator
NameError: undefined local variable or method `create' for main:Object
from (pry):5:in `__pry__'