Skip to content

Latest commit

 

History

History
72 lines (40 loc) · 2.77 KB

README.md

File metadata and controls

72 lines (40 loc) · 2.77 KB

Once the repo is cloned, change the db password to whatever your local database password is.


IoTBay Project!

Description

The Internet of Things store (IoTBay) is a small company based in Sydney, Australia. IoTBay wants to develop an online IoT devices ordering application to allow their customers to purchase IoT devices (e.g. sensors, actuators, gateways). Based on the initial analysis and meetings with the stakeholders; project team have documented the project brief. The project brief discusses the objectives and current IoTBay device collection management, order management, payment processing, delivery, user registration, login and logout features of the web application.

Onboarding

Installation

Make sure you first install:

To Run The Project:

Open 2 terminals, side by side in VsCode:

Every time you make a change, run:

mvn package

In the other terminal, just run the following & leave it open for as long as you are developing: mvn jetty:run

Then, open a web browser & visit: http://localhost:8080

To run unit tests: mvn test

Help Installing Maven

Mac Users

Macos Users will need to edit their bash_profile file in ~/.bash_profile

Please add the following (Update the path to be wherever you downloaded the maven folder):

export M2_HOME="/Users/jack/Downloads/apache-maven-3.6.3"
PATH="${M2_HOME}/bin:${PATH}"
export PATH

You can confirm maven was succesfully installed by running mvn in your terminal.

Windows Users

After installing Maven, search for environment variables in windows. This will open a dialogue like so:

Alt text

Click the new button under system variables & add one called MAVEN_HOME with a link to the downloaded zip file:

Alt text

Find the PATH Variable under user variables & click edit. On the next screen, add a new entry with the value %MAVEN_HOME%\bin:

Alt text

Close all the menus, reload a terminal window & you can confirm maven was succesfully installed by running mvn in your terminal.