## What Adds a `--verbose` option that shows the output of all underlying processes in real-time. ## Why This is helpful for testing and debugging issues, especially issues that the community runs into. We can ask community members to pass the `--verbose` option and provide us with the outputted logs if they face problems. ## Caveats When installing the Next.js starter then terminating the process, the main and child processes don't receive the abort signal as it seems to occur in the child process. This leads to the command continuing but then running into an error in the next step. As this option is only used for debugging, I don't think it's a big issue. ## Testing Run the `create-medusa-app` snapshot below with `--verbose` option. Or, change to the `packages/create-medusa-app` directory and run: ```bash yarn dev --directory-path ~/some-dir --verbose ``` > The `--directory-path` option in this case is necessary as installing the medusa backend in the current `packages/create-medusa-app` directory leads to errors related to yarn workspaces.
create-medusa-app
Documentation | Website
An open source composable commerce engine built for developers.
Overview
Using this NPX command, you can setup a Medusa backend and admin along with a PostgreSQL database in simple steps.
Usage
Run the following command in your terminal:
npx create-medusa-app@latest
Then, answer the prompted questions to setup your PostgreSQL database and Medusa project. Once the setup is done, the Medusa admin dashboard will open in your default browser.
Options
| Option | Description | Default value |
|---|---|---|
--repo-url <url> |
Create Medusa project from a different repository URL | https://github.com/medusajs/medusa-starter-default |
--seed |
Using this option seeds the database with demo data | false |