wiki:programmersguide/configurewebapp

Version 4 (modified by jano.simas, 9 years ago) (diff)

--

Configuring TerraMA2 Web

The TerraMA2 Web application need some dependencies to be installed in develop environment.

Global Dependencies

To install the global dependencies run these two commands:

sudo npm install -g bower
sudo npm install -g grunt

Dependencies

To install local dependencies from the TerraMA2 folder,

In the folder webapp:

npm install
bower install 
grunt

In the folder webcomponents:

npm install 
grunt

In the folder webmonitor:

npm install
bower install

Executing the web application

Webapp

To execute the webapp go to the webapp folder and run

npm start

If you are using the default configuration, the webapp will be available at localhost:36000

Webmonitor

To execute the webmonitor go to the webmonitor folder and run

npm start

If you are using the default configuration, the webmonitor will be available at localhost:36001