Skip to content

Commit 75e5ddc

Browse files
Update create-new-application.md
1 parent da07c51 commit 75e5ddc

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/guides/developing-antmedia-server/create-new-application.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ Enter the application name and click the ```Create``` button.
2828

2929
![image](https://github.com/user-attachments/assets/546a3581-0dbb-494f-8600-0248fc0eaa8b)
3030

31-
Note- In cluster mode, the server automatically creates the new application across all nodes in the cluster. Similarly, if an application is deleted, it will be removed from all nodes as well.
31+
:::info
32+
33+
In cluster mode, the server automatically creates the new application across all nodes in the cluster. Similarly, if an application is deleted, it will be removed from all nodes as well.
34+
35+
:::
3236

3337
## Shell Script
3438

@@ -44,7 +48,7 @@ cd /usr/local/antmedia
4448

4549
### Step 2
4650

47-
create\_app.sh usage in below.
51+
The `create\_app.sh` usage in below.
4852

4953

5054
```bash
@@ -60,17 +64,15 @@ sudo ./create_app.sh -n livestream -p /usr/local/antmedia
6064
Available parameters in the **create_app** script:
6165

6266
**-n:** Name of the application that you want to have. It's mandatory
63-
**-p:** (Optional) Path is the install location of Ant Media Server which is /usr/local/antmedia by default.
64-
**-w:** (Optional) The flag to deploy application as war file. Default value is false
65-
**-c:** (Optional) The flag to deploy application in cluster mode. Default value is false
67+
**-p:** (Optional) Path is the install location of Ant Media Server which is /usr/local/antmedia by default.
68+
**-w:** (Optional) The flag to deploy application as war file. Default value is false
69+
**-c:** (Optional) The flag to deploy application in cluster mode. Default value is false
6670
**-m:** Mongo DB host. If it's a cluster, it's mandatory. Otherwise optional
6771
**-u:** Mongo DB user. If it's a cluster, it's mandatory. Otherwise optional
6872
**-s:** Mongo DB password. If it's a cluster, it's mandatory. Otherwise optional
69-
**-h:** print this usage
70-
71-
For more details, see the [Create App Script](https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/server/create_app.sh#L5)
73+
**-h:** print this usage
7274

73-
![](@site/static/img/image-1645437714786.png)
75+
For more details, check the [Create App Script](https://github.com/ant-media/Ant-Media-Server/blob/master/src/main/server/create_app.sh#L5).
7476

7577
### Step 3
7678

@@ -101,4 +103,4 @@ curl -X DELETE -H "https://{YOUR_SERVER_ADDRESS}:5443/rest/v2/applications/App_N
101103
```
102104
## Congratulations!
103105

104-
You now know how to create and manage applications in Ant Media Server using the web panel, shell scripts, or REST methods. You are ready to organize multiple streaming applications efficiently and deploy them across clusters with ease.
106+
You now know how to create and manage applications in Ant Media Server using the web panel, shell scripts, or REST methods. You are ready to organize multiple streaming applications efficiently and deploy them across clusters with ease.

0 commit comments

Comments
 (0)