Discourse: How to create an user admin in discourse after to complete a new fresh discourse installation

Discourse: How to create an user admin in discourse after to complete a new fresh discourse installation

Here you have the simple step you may follow:

Go to your website and create a new user account

Go to console

bundle exec rails console

How to activate your discourse account manually(from console) if you are not receiving the confirmation email:

token = User.last.email_tokens.first
EmailToken.confirm(token.token)

Setup your account as an admin account:

u = User.last
u.admin = true
u.save!
No Comments

Post A Comment