Skip to content

Commit c0714b9

Browse files
committed
Shows --port option in README
1 parent 9ac7a52 commit c0714b9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,20 @@ The standalone Parse Server can be configured using [environment variables](#con
6767

6868
Please refer to the [configuration section](#configuration) or help;
6969

70+
To get more help for running the parse-server standalone, you can run:
71+
72+
`$ npm start -- --help`
73+
74+
The standalone API server supports loading a configuration file in JSON format:
75+
76+
`$ npm start -- path/to/your/config.json`
77+
78+
The default port is 1337, to use a different port set the `--port` option:
79+
80+
`$ npm start -- --port=8080 path/to/your/config.json`
81+
82+
Please refer to the [configuration section](#configuration) or help;
83+
7084
You can also install Parse Server globally:
7185

7286
`$ npm install -g parse-server`

0 commit comments

Comments
 (0)