Certain web static content (like open ui5 sdk) on local disk must be served from a web server, instead of directly opening from the local file system.
On Mac, once the static web content is available on a local folder, it can be simply started from a terminal.
1. First open terminal app, and navigate to the folder contains the static web content.
2. Run the below comment with the port number as the last parameter
python -m SimpleHTTPServer 8000
3.start the browser, and visit the below url
http://localhost:8000/yourHtmlPage.html
On Mac, once the static web content is available on a local folder, it can be simply started from a terminal.
1. First open terminal app, and navigate to the folder contains the static web content.
2. Run the below comment with the port number as the last parameter
python -m SimpleHTTPServer 8000
3.start the browser, and visit the below url
http://localhost:8000/yourHtmlPage.html
No comments:
Post a Comment