VITAL is an ambitious R&D programme to develop a prototype application platform that will revolutionise real-time, location-based provision of goods and services in future smart cities, by integrating and interacting with a multitude of different Internet of Things data sources and systems.
For this project you need:
Install grunt and bower with the following commands:
npm install -g grunt-cli
npm install -g bower
Open a command line and navigate to the home directory of MongoDB
Start mongo with (replace MONGO_HOME with the actual directory of mongo):
For Linux: $MONGO_HOME/bin/mongod --dbpath $MONGO_HOME/data
For Windows: %MONGO_HOME%\bin\mongod --dbpath %MONGO_HOME%/data
Check that mongo is started and listens to connections on localhost and port 27017 (default).
Copy files from folder wildfly in project to the application server
cp ./wildfly/* $WILDFLY_HOME/standalone/configuration/
Open a command line and navigate to the root of the Wildfly server directory.
The following shows the command line to start the server with the web profile:
For Linux: $WILDFLY_HOME/bin/standalone.sh -c standalone-vital.xml
For Windows: %WILDFLY_HOME%\bin\standalone.bat -c standalone-vital.xml
Checkout the code from the repository:
git clone http://gitlab.atosresearch.eu/vital-iot/vital-iot.git
git submodule init
git submodule update
Make sure you have started the Wildfly Server as described above.
Open a command line and navigate to the root directory of the project.
Type this command to build and deploy the archive:
mvn clean package wildfly:deploy
This will deploy all VITAL components to the running instance of the server.
Access the Management Platform at the following URL: http://localhost:8080/vital-management-ui Access the Orchestrator at the following URL: http://localhost:8080/vital-orchestrator
When you are finished testing, type this command to undeploy the archive:
mvn wildfly:undeploy