diff --git a/docs/DEVELOPER-ADVANCED.md b/docs/DEVELOPER-ADVANCED.md
index a8bf7a1b847..79c0d86a145 100644
--- a/docs/DEVELOPER-ADVANCED.md
+++ b/docs/DEVELOPER-ADVANCED.md
@@ -59,17 +59,13 @@ If everything goes alright, let's clone Discourse and start hacking:
     # launch discourse
     bundle exec rails s -b 0.0.0.0 # open browser on http://localhost:3000 and you should see Discourse
 
-Create a test account, and enable it with:
+Create an admin account with:
 
-    bundle exec rails c
-    u = User.find(1)
-    u.activate
-    u.grant_admin!
-    exit
+    bundle exec rake admin:create
 
 Discourse does a lot of stuff async, so it's better to run sidekiq even on development mode:
 
-    ruby $(mailcatcher) # open http://localhost:1080 to see the emails, stop with pkill -f mailcatcher
+    mailcatcher # open http://localhost:1080 to see the emails, stop with pkill -f mailcatcher
     bundle exec sidekiq # open http://localhost:3000/sidekiq to see queues
     bundle exec rails server