Installation

STEP 1 - You need these installed on your system.

Requirements:

STEP 2 - Clone the repo

$ git clone githttps://gitlab.com/MadeToBurst/mtb-office.git

STEP 3 - Go to the repo folder and install the application dependencies.

$ cd mtb-office
$ npm install

Step 4 - Install webpack globally. Use sudo if prompt for admin.

$ npm install -g webpack
(or)
$ sudo npm install -g webpack

Step 5 - Create a config.json using the config.example.json as the pattern

Step 6 - Run the app depending on your environment.

-Production

$ cd .. (if you are not yet at the index of the app)
$ webpack
$ node server.js

-Development

$ cd .. (if you are not yet at the index of the app)
$ npm start