# Bulk creating users with rails etc

**URL:** <https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716>\
**Category:** Development\
**Created:** [October 10, 2023, 6:37am UTC](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716 "2023-10-10T06:37:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [October 10, 2023, 8:41am UTC](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716/4 "2023-10-10T08:41:27Z")

</div>

> [@PrettyGirl](#):
>
> I can just host it locally if I want.

You can use this technique for local development installs too (that’s its primary purpose).

> [@PrettyGirl](#):
>
> So, kindly let me know of a solution related to the question I mentioned.  
> I just need to insert users (I have the name list for the users), into the main DB of discourse.

Why not read the code for that rake task and modify it how you see fit?

> <https://github.com/discourse/discourse/blob/main/lib/tasks/dev.rake>

---

_[View the full topic](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716)._
