Running the Project
Last updated
Last updated
The project source files are located off the installation root in the \sample
directory. The instructions below use Visual Studio Code to run the project but any web application editor can be used.
When running the project for the first time, open a new Terminal tab and run the npm first
script as seen below.
The first
script will install any project dependencies including the http-server NPM package. This package will be used to serve the web application over HTTP. After installing any dependencies, the first
script then opens the application in a browser using a default port.
When running the project again, the npm script start
can be used which also opens the application in a browser but skips the installation of any dependent packages.
See the package.json
file in the project root for more on these scripts.