How to distribute a web app avoiding using my pc as a server?

1 次查看(过去 30 天)
How to distribute a web app avoiding using my pc as a server?

回答(1 个)

Dheeraj
Dheeraj 2023-10-20
Hi,
I understand you want to deploy your web app on cloud rather than using your local machine. Here are the steps that can be followed to distribute your web app on a remote server or cloud platform.
  1. Verify that you have the MATLAB Web App Server product installed.
  2. Verify that Authentication and Role-Based Access are enabled on the server.
  3. Navigate to the web apps home page configured by the server. You can obtain the URL to the home page by executing webapps-server at the system command-line or by getting the URL from an individual who is administering the server. The format of the home page URL is: http://webAppServer:PortNumber/webapps/home/index.html Here, webAppServer is your web app server hostname, and PortNumber is the port specified when configuring the server.
  4. Click Manage Apps on the web apps home page to open the Manage Apps page.
  5. Click Upload App and navigate to the project folder generated by Web App Compiler (in MATLAB Compiler) during the packaging process.
  6. Select the file webAppArchiveName.ctf and click Open to upload the web app. You get a confirmation that the webAppArchiveName.ctf was successfully uploaded to the server.
There are many other ways to deploy your web-app to a remote server or a cloud platform refer to the MATLAB’s documentation below to get a better understanding.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 MATLAB Web App Server 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by