Skip to content

Commit 417b520

Browse files
authored
Merge pull request #36 from mnfst/openapi
doc: adapt to new npm scripts
2 parents 167f290 + 6415bf8 commit 417b520

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,5 @@ The backend fits in an [NPM Package](https://www.npmjs.com/package/manifest) tha
107107
If you plan to run Manifest on a **mounted drive** like most cloud editors do, add the `--mountedDrive` argument to the run command to prevent [watcher errors](https://github.com/remy/nodemon?tab=readme-ov-file#application-isnt-restarting):
108108
109109
```
110-
npm run manifest -- --mountedDrive
110+
npm run start -- --mountedDrive
111111
```

deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ See more [environment variables](./config.md#general-variables) you may need.
6565

6666
### Start script for production
6767

68-
The `npm run manifest` script should only be used for **development** as it watches file changes.
68+
The `npm run start` script should only be used for **development** as it watches file changes.
6969

7070
Go back to your codebase and open the `package.json` file and add a new **start** script on the scripts list with the value `node node_modules/manifest/dist/manifest/src/main.js` as following:
7171

entities.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can now add your own pets through the admin panel!
3939
To generate dummy data for all your entities, run the simple command:
4040

4141
```
42-
npm run manifest:seed
42+
npm run seed
4343
```
4444

4545
:::warning
@@ -95,7 +95,7 @@ ContactPage:
9595
You can generate dummy data for all your entities with the simple command:
9696

9797
```
98-
npm run manifest:seed
98+
npm run seed
9999
```
100100

101101
### Entity params

introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To start the Manifest backend, run the following command in the new project fold
5555

5656
```
5757
cd my-project
58-
npm run manifest
58+
npm run start
5959
```
6060

6161
You can now:

0 commit comments

Comments
 (0)