Skip to content

Running the Client

samuelsogbesan edited this page Sep 22, 2020 · 3 revisions

Prerequisites

  1. You have a local copy of the repository.
  2. Node.js and npm are installed on your machine.

Setup

  1. cd to src/main/webapp and run npm install. This will fetch and install the Javascript dependencies for the project.
  2. Install Parcel Bundler using the command npm install -g parcel-bundler. We will use to run and build our application.

Run the Application

  1. cd to src/main/webapp
  2. run the command parcel index.html, where index.html is the entry point for our application. Specify -p PORT_NUMBER to change the port to run on.

Check your terminal for a message indicating the build is running. Open a browser and navigate to the port it is being hosted on with ** localhost:PORTNUMBER**

Clone this wiki locally