|
1
|
<p align="center"> |
|
2
|
<a href="https://www.medusajs.com"> |
|
3
|
<img alt="Medusa" src="https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png" width="100" /> |
|
4
|
</a> |
|
5
|
</p> |
|
6
|
<h1 align="center"> |
|
7
|
create-medusa-app |
|
8
|
</h1> |
|
9
|
|
|
10
|
<h4 align="center"> |
|
11
|
<a href="https://docs.medusajs.com">Documentation</a> | |
|
12
|
<a href="https://www.medusajs.com">Website</a> |
|
13
|
</h4> |
|
14
|
|
|
15
|
<p align="center"> |
|
16
|
An open source composable commerce engine built for developers. |
|
17
|
</p> |
|
18
|
<p align="center"> |
|
19
|
<a href="https://github.com/medusajs/medusa/blob/master/LICENSE"> |
|
20
|
<img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Medusa is released under the MIT license." /> |
|
21
|
</a> |
|
22
|
<a href="https://circleci.com/gh/medusajs/medusa"> |
|
23
|
<img src="https://circleci.com/gh/medusajs/medusa.svg?style=shield" alt="Current CircleCI build status." /> |
|
24
|
</a> |
|
25
|
<a href="https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md"> |
|
26
|
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" alt="PRs welcome!" /> |
|
27
|
</a> |
|
28
|
<a href="https://www.producthunt.com/posts/medusa"><img src="https://img.shields.io/badge/Product%20Hunt-%231%20Product%20of%20the%20Day-%23DA552E" alt="Product Hunt"></a> |
|
29
|
<a href="https://discord.gg/xpCwq3Kfn8"> |
|
30
|
<img src="https://img.shields.io/badge/chat-on%20discord-7289DA.svg" alt="Discord Chat" /> |
|
31
|
</a> |
|
32
|
<a href="https://twitter.com/intent/follow?screen_name=medusajs"> |
|
33
|
<img src="https://img.shields.io/twitter/follow/medusajs.svg?label=Follow%20@medusajs" alt="Follow @medusajs" /> |
|
34
|
</a> |
|
35
|
</p> |
|
36
|
|
|
37
|
## Overview |
|
38
|
|
|
39
|
Using this NPX command, you can setup a Medusa backend and admin along with a PostgreSQL database in simple steps. |
|
40
|
|
|
41
|
--- |
|
42
|
|
|
43
|
## Usage |
|
44
|
|
|
45
|
Run the following command in your terminal: |
|
46
|
|
|
47
|
```bash |
|
48
|
npx create-medusa-app@latest |
|
49
|
``` |
|
50
|
|
|
51
|
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. |
|
52
|
|
|
53
|
### Options |
|
54
|
|
|
55
|
| Option | Description | Default value | |
|
56
|
|--------------------|-------------------------------------------------------|------------------------------------------------------| |
|
57
|
| `--repo-url <url>` | Create Medusa project from a different repository URL | `https://github.com/medusajs/medusa-starter-default` | |
|
58
|
| `--seed` | Using this option seeds the database with demo data | false | |