Skip to main content

Requirements

The quickest way to get PostgreSQL running locally is with Docker:
Or on macOS with Homebrew:

Create a new project

The CLI will prompt for a project name and template, then handle everything automatically:
  • downloads the template
  • installs dependencies
  • creates and migrates the database
  • seeds initial data
  • starts the development server and opens the admin setup page in your browser

Options

Access your marketplace

Once the development server is running, your marketplace is available at:

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:
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 server

After stopping the server, start it again from your project directory:

Initialize an existing project

If you have an existing Medusa project, initialize Mercur in it:
This creates a blocks.json configuration file in your project.

Add blocks

Install blocks from the registry:
Browse available blocks:

Run database migrations

After adding blocks that include modules: