# Quelle est la commande Rails pour créer un utilisateur administrateur dans Discourse ?

**URL:** https://meta.discourse.org/t/what-is-the-rails-command-to-create-an-admin-user-in-discourse/147545
**Category:** Support
**Created:** [Avril 10, 2020, 1:01 UTC](https://meta.discourse.org/t/what-is-the-rails-command-to-create-an-admin-user-in-discourse/147545 "2020-04-10T13:01:34Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [Avril 10, 2020, 1:15 UTC](https://meta.discourse.org/t/what-is-the-rails-command-to-create-an-admin-user-in-discourse/147545/9 "2020-04-10T13:15:28Z")

</div>

Cela n’est pas saisi dans la console Rails.

Utilisez :

```
./launcher enter app
rake admin:create

```

---

_[View the full topic](https://meta.discourse.org/t/what-is-the-rails-command-to-create-an-admin-user-in-discourse/147545)._
