diff --git a/www/apps/book/app/learn/installation/page.mdx b/www/apps/book/app/learn/installation/page.mdx index 52697e7789..5ad1384794 100644 --- a/www/apps/book/app/learn/installation/page.mdx +++ b/www/apps/book/app/learn/installation/page.mdx @@ -30,12 +30,12 @@ A Medusa application is made up of a Node.js server and an admin dashboard. You To create a Medusa application, use the `create-medusa-app` command: ```bash -npx create-medusa-app@latest +npx create-medusa-app@latest my-medusa-store ``` -When you run the command, you'll be asked for the project's name and whether you want to install the Next.js storefront. +Where `my-medusa-store` is the name of the project's directory and PostgreSQL database created for the project. When you run the command, you'll be asked whether you want to install the Next.js storefront. -After answering the prompts, the command installs the Medusa application in a directory with your project name, and prepares a PostgreSQL database that the application connects to. +After answering the prompts, the command installs the Medusa application in a directory with your project name, and sets up a PostgreSQL database that the application connects to. If you chose to install the storefront with the Medusa application, the storefront is installed in a separate directory named `{project-name}-storefront`. diff --git a/www/apps/book/generated/edit-dates.mjs b/www/apps/book/generated/edit-dates.mjs index 1973e824d1..8ab72c334e 100644 --- a/www/apps/book/generated/edit-dates.mjs +++ b/www/apps/book/generated/edit-dates.mjs @@ -106,7 +106,7 @@ export const generatedEditDates = { "app/learn/build/page.mdx": "2024-12-09T11:05:17.383Z", "app/learn/deployment/general/page.mdx": "2024-11-25T14:33:50.439Z", "app/learn/fundamentals/workflows/multiple-step-usage/page.mdx": "2024-11-25T16:19:32.169Z", - "app/learn/installation/page.mdx": "2024-12-12T15:22:29.182Z", + "app/learn/installation/page.mdx": "2025-01-06T09:12:48.690Z", "app/learn/fundamentals/data-models/check-constraints/page.mdx": "2024-12-06T14:34:50.384Z", "app/learn/fundamentals/module-links/link/page.mdx": "2025-01-06T09:27:25.604Z" } \ No newline at end of file diff --git a/www/apps/resources/app/create-medusa-app/page.mdx b/www/apps/resources/app/create-medusa-app/page.mdx index c8b0302c88..58b1720e01 100644 --- a/www/apps/resources/app/create-medusa-app/page.mdx +++ b/www/apps/resources/app/create-medusa-app/page.mdx @@ -35,9 +35,32 @@ The `create-medusa-app` CLI tool simplifies the process of creating a new Medusa ## Usage ```bash -npx create-medusa-app@latest +npx create-medusa-app@latest [project-name] ``` +### Arguments + +