new-user

โดย medusajs

สร้างผู้ดูแลระบบใหม่ใน Medusa ด้วยอีเมลและรหัสผ่าน รับอีเมลและรหัสผ่านเป็นอาร์กิวเมนต์คำสั่งเพื่อตั้งค่าข้อมูลประจำตัวผู้ดูแลระบบ ดำเนินการคำสั่ง npx medusa user ผ่าน Bash ด้วยแฟล็ก -e และ -p รายงานผลสำเร็จในการสร้าง อีเมลผู้ใช้ ข้อผิดพลาด และขั้นตอนถัดไปสำหรับการเข้าสู่ระบบแดชบอร์ดผู้ดูแลระบบ

npx skills add https://github.com/medusajs/medusa-agent-skills --skill new-user

Create Admin User

Create a new admin user in Medusa with the specified email and password.

The user will provide two arguments:

  • First argument: email address
  • Second argument: password

For example: /medusa-dev:user admin@test.com supersecret

Use the Bash tool to execute the command npx medusa user -e <email> -p <password>, replacing <email> with the first argument and <password> with the second argument.

Report the results to the user, including:

  • Confirmation that the admin user was created successfully
  • The email address of the created user
  • Any errors that occurred
  • Next steps (e.g., logging in to the admin dashboard)

Skills เพิ่มเติมจาก medusajs

creating-agents-in-medusa
medusajs
ใช้เมื่อสร้าง AI agent ภายในสำหรับผู้ดูแลระบบในโปรเจกต์ Medusa agent เหล่านี้ใช้งานโดยผู้ค้าและผู้ดำเนินการร้านค้า — ไม่ใช่ลูกค้า ครอบคลุม…
mcloud-local
medusajs
รัน mcloud local build เพื่อจำลองการ build บน Cloud ลงในเครื่องท้องถิ่น ใช้เมื่อต้องการดีบักการ deploy ที่ build ไม่ผ่านโดยไม่ต้อง push ไปยัง branch ที่ติดตาม,…
reviewing-prs
medusajs
ตรวจสอบ pull requests บน GitHub สำหรับ repository Medusa ตรวจสอบการปฏิบัติตามเทมเพลต PR แนวทางการมีส่วนร่วม หลักปฏิบัติด้านโค้ด ความปลอดภัย ประสิทธิภาพ และ…
writing-releases
medusajs
เขียนบันทึกการเผยแพร่ (release notes) บน GitHub สำหรับการเผยแพร่ Medusa ในรูปแบบที่กำหนดไว้ ใช้เมื่อสร้างร่างคำอธิบายการเผยแพร่จากรายการ commits และ PR…
writing-tsdocs
medusajs
เพิ่มและอัปเดตคอมเมนต์ TypeDoc (TSDoc) ในไฟล์ซอร์ส TypeScript ในโค้ดเบส Medusa ครอบคลุมประเภท HTTP, เส้นทาง API, คอมโพเนนต์ UI, โมเดลข้อมูล, เซอร์วิส…
mcloud-variables
medusajs
ดำเนินการคำสั่ง mcloud variables เพื่อแสดงรายการและรับตัวแปรสภาพแวดล้อมสำหรับสภาพแวดล้อมคลาวด์ ใช้เมื่อตรวจสอบ อ่าน หรือส่งออกสภาพแวดล้อม…
mcloud-deployments
medusajs
ดำเนินการคำสั่ง mcloud deployments เพื่อแสดงรายการการปรับใช้ ดึงข้อมูลรายละเอียดการปรับใช้ และดึงบันทึกการสร้าง ใช้เมื่อแสดงรายการการปรับใช้ ตรวจสอบการปรับใช้…
writing-docs
medusajs
เขียนและอัปเดตไฟล์เอกสาร MDX ของ Medusa สำหรับโปรเจกต์ book, resources, ui, user-guide และ cloud ใช้เมื่อมีการเปลี่ยนแปลงเอกสารตาม...