The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
docs: add seller registration instructions to CLI output (#856)
Jakub Sieradzki3f93be14e8fb
diff --git a/apps/docs/v2/getting-started/installation.mdx b/apps/docs/v2/getting-started/installation.mdxindex 8c0be2c8b..a7db51d87 100644--- a/apps/docs/v2/getting-started/installation.mdx+++ b/apps/docs/v2/getting-started/installation.mdx@@ -49,6 +49,30 @@ The CLI will prompt for a project name and template, then handle everything auto| `--no-deps` | Skip dependency installation | — || `--skip-db` | Skip database setup | — |+## Access your marketplace++Once the development server is running, your marketplace is available at:++| Panel | URL |+|-------|-----|+| API | `http://localhost:9000` |+| Admin Panel | `http://localhost:9000/dashboard` |+| Vendor Panel | `http://localhost:9000/seller` |++### Create an admin account++The CLI automatically opens the admin invite page in your browser after setup. Follow the on-screen instructions to create your first admin account.++### Create your first seller++The seed data does not include a seller account. To create one, open the Vendor Panel and register:++```+http://localhost:9000/seller/register+```++Fill in the registration form and complete the onboarding wizard. Once submitted, the seller will appear in the Admin Panel for approval.+## Start the development serverAfter stopping the server, start it again from your project directory:diff --git a/packages/cli/src/commands/create.ts b/packages/cli/src/commands/create.tsindex 1af6115b4..c04781099 100644--- a/packages/cli/src/commands/create.ts+++ b/packages/cli/src/commands/create.ts@@ -407,6 +407,11 @@ ${header("Launch Application:")}- cd ./${relativePath}- ${packageManager === "npm" ? "npm run" : packageManager} dev+${header("Create your first seller:")}++ Once the server is running, open the Vendor Panel and register at:+ ${highlighter.info("http://localhost:9000/seller/register")}+${header("Documentation:")}- ${createTerminalLink("Getting Started", "https://docs.mercurjs.com/v2/welcome")}@@ -421,6 +426,11 @@ ${header("Your marketplace is running:")}API: ${highlighter.info("http://localhost:9000")}Admin Panel: ${highlighter.info("http://localhost:9000/dashboard")}Vendor Panel: ${highlighter.info("http://localhost:9000/seller")}++${header("Create your first seller:")}++ Open the Vendor Panel and register a new account at:+ ${highlighter.info("http://localhost:9000/seller/register")}`;}