Skip to content

Commit cbe0c24

Browse files
committed
update local dev doc
1 parent 5fa72d5 commit cbe0c24

File tree

1 file changed

+33
-31
lines changed

1 file changed

+33
-31
lines changed

docs/articles/local-development.md docs/articles/local-development.mdx

+33-31
Original file line numberDiff line numberDiff line change
@@ -15,55 +15,57 @@ development purposes using your favorite code editor.
1515

1616
### Create a new project from scratch
1717

18-
1. Create a new project using
18+
<Stepper>
1919

20-
```bash
21-
npm create zuplo-api@latest
22-
```
20+
1. Create a new project using
2321

24-
```bash title="Expected output: "
25-
cd <your-new-project-directory>
26-
npm install
27-
npm run dev
28-
```
22+
```bash
23+
npm create zuplo-api@latest
24+
```
2925

30-
3. Start your local gateway using `npm run dev`.
26+
```bash title="Expected output: "
27+
cd <your-new-project-directory>
28+
npm install
29+
npm run dev
30+
```
3131

32-
4. Use the [local Route Designer](./local-development-routes-designer.md) to
32+
1. Start your local gateway using `npm run dev`.
33+
1. Use the [local Route Designer](./local-development-routes-designer.md) to
3334
create your first route.
3435

36+
</Stepper>
37+
3538
### Import your existing project
3639

3740
If you have been using Zuplo using the _Zuplo Web Portal_, you can import your
3841
project into your local machine.
3942

40-
1. Connect your project to a Git repository from the _Zuplo Web Portal_.
41-
42-
![Connect repository](https://cdn.zuplo.com/assets/3bd6b736-20d7-4ac4-805c-d7fd810dea28.png)
43+
<Stepper>
4344

44-
2. Clone your project from your Git provider to your local machine.
45-
46-
3. Convert your project to use the Zuplo CLI
47-
48-
```bash
49-
npx zuplo project update
50-
```
51-
52-
4. Install the necessary dependencies:
45+
1. Connect your project to a Git repository from the _Zuplo Web Portal_.
46+
![Connect repository](https://cdn.zuplo.com/assets/3bd6b736-20d7-4ac4-805c-d7fd810dea28.png)
47+
1. Clone your project from your Git provider to your local machine.
48+
1. Convert your project to use the Zuplo CLI
49+
```bash
50+
npx zuplo project update
51+
```
52+
1. Install the necessary dependencies:
5353

54-
```sh
55-
npm install
56-
```
54+
```sh
55+
npm install
56+
```
5757

58-
5. Start your Zuplo Gateway locally;
58+
1. Start your Zuplo Gateway locally;
5959

60-
```sh
61-
npm run dev
62-
```
60+
```sh
61+
npm run dev
62+
```
6363

64-
6. Use the [local Route Designer](./local-development-routes-designer.md) to
64+
1. Use the [local Route Designer](./local-development-routes-designer.md) to
6565
create your first route.
6666

67+
</Stepper>
68+
6769
## Limitations
6870

6971
While convenient and powerful, not all features of Zuplo are supported while

0 commit comments

Comments
 (0)