Skip to content

Mac OS Installation Step by Step

tatianegava edited this page Mar 8, 2021 · 8 revisions

Please execute the following steps:

  • Install Homebrew,

  • Install Mosquitto MQTT Broker, mongoDB server, Tomcat8 and Maven.

    $ brew install mosquitto  
    $ brew install [email protected]    
    $ brew install tomcat
    $ brew install maven3.6.3_1 #(verify Maven Version: $ mvn -version)
  • Start Mosquitto, MongoDB, InfluxDB and Tomcat8.

    $ brew services start mosquitto
    $ brew services start mongodb-community
    $ brew services start tomcat

    You can check if all of them have started correctly with:

    $ brew services list 
  • Create the MBP.war file by building the provided maven project

    $ mvn clean install
  • Deploy the MBP application on Tomcat by moving the MBP-0.1.war from Target folder to the Tomcat webapps folder in the path: usr/local/Cellar/tomcat/9.0.10/libexec/webapps. Open the Finder and search for /usr.

  • Restart Tomcat:

    $ brew services restart tomcat

Once the installation is completed, the MBP will be available on the URL http://[MBP-Host]:8080/MBP-1.0.