Skip to content

Commit 09dae16

Browse files
Add build as its own upgrade step (#1279)
1 parent 59dd226 commit 09dae16

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

docs/developer-docs/latest/update-migration-guides/update-version.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Strapi periodically releases code improvements through upgrades. Upgrades contai
1212
[Plugins extension](/developer-docs/latest/plugins/users-permissions.md) that create custom code or modify existing code will need to be updated and compared to the changes in the repository. Not updating the plugin extensions could break the application.
1313
:::
1414

15-
## Upgrading the dependencies
15+
## Step 1: Upgrade the dependencies
1616

1717
::: prerequisites
1818

@@ -42,22 +42,40 @@ Strapi periodically releases code improvements through upgrades. Upgrades contai
4242

4343
3. !!!include(developer-docs/latest/update-migration-guides/migration-guides/v4/snippets/Install-npm-yarn)!!!
4444

45-
## Reinitializing the application
45+
## Step 2: Rebuild the application
4646

47-
Rebuild the administration panel and start the application:
47+
Rebuild the administration panel:
4848

4949
<code-group>
5050

5151
<code-block title="NPM">
5252
```sh
5353
npm run build
54-
npm run develop
5554
```
5655
</code-block>
5756

5857
<code-block title="YARN">
5958
```sh
6059
yarn build
60+
```
61+
</code-block>
62+
63+
</code-group>
64+
65+
## Step 3: Start the application
66+
67+
Start the application and ensure that everything is working as expected:
68+
69+
<code-group>
70+
71+
<code-block title="NPM">
72+
```sh
73+
npm run develop
74+
```
75+
</code-block>
76+
77+
<code-block title="YARN">
78+
```sh
6179
yarn develop
6280
```
6381
</code-block>

0 commit comments

Comments
 (0)