docs: update readme with --app-location description
This commit is contained in:
Родитель
ade716b771
Коммит
60c76c3c24
21
readme.md
21
readme.md
|
@ -118,16 +118,17 @@ swa start http://<APP_DEV_SERVER> --api=http://<API_DEV_SERVER>
|
|||
|
||||
If you need to override the default values, provide the following options:
|
||||
|
||||
| Options | Description | Default | Example |
|
||||
| -------------------------------- | --------------------------------------------------- | ----------- | ---------------------------------------------------- |
|
||||
| `--app, --app-artifact-location` | set app artifact (dist) folder or dev server | `./` | `--app="./my-dist"` or `--app=http://localhost:4200` |
|
||||
| `--api, --api-artifact-location` | set the API folder or dev server | | `--api="./api"` or `--api=http://localhost:8083` |
|
||||
| `--api-port` | set the API server port | `7071` | `--api-port=8082` |
|
||||
| `--host` | set the emulator host address | `localhost` | `--host=192.168.68.80` |
|
||||
| `--port` | set the emulator port value | `4280` | `--port=8080` |
|
||||
| `--ssl` | serving the app and API over HTTPS (default: false) | `false` | `--ssl` or `--ssl=true` |
|
||||
| `--ssl-cert` | SSL certificate to use for serving HTTPS | | `--ssl-cert="/home/user/ssl/example.crt"` |
|
||||
| `--ssl-key` | SSL key to use for serving HTTPS | | `--ssl-key="/home/user/ssl/example.key"` |
|
||||
| Options | Description | Default | Example |
|
||||
| -------------------------------- | --------------------------------------------------- | --------- | ---------------------------------------------------- |
|
||||
| `--app-location` | set location for the static app source code | `./` | `--app-location="./my-project"` |
|
||||
| `--app, --app-artifact-location` | set app artifact (dist) folder or dev server | `./` | `--app="./my-dist"` or `--app=http://localhost:4200` |
|
||||
| `--api, --api-artifact-location` | set the API folder or dev server | | `--api="./api"` or `--api=http://localhost:8083` |
|
||||
| `--api-port` | set the API server port | `7071` | `--api-port=8082` |
|
||||
| `--host` | set the emulator host address | `0.0.0.0` | `--host=192.168.68.80` |
|
||||
| `--port` | set the emulator port value | `4280` | `--port=8080` |
|
||||
| `--ssl` | serving the app and API over HTTPS (default: false) | `false` | `--ssl` or `--ssl=true` |
|
||||
| `--ssl-cert` | SSL certificate to use for serving HTTPS | | `--ssl-cert="/home/user/ssl/example.crt"` |
|
||||
| `--ssl-key` | SSL key to use for serving HTTPS | | `--ssl-key="/home/user/ssl/example.key"` |
|
||||
|
||||
## Local authentication & authorization emulation
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче